Skip to content

Commit

Permalink
Fix s2sx build
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost committed Mar 5, 2021
1 parent 6bf9ce4 commit 04fbe89
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions s2/cmd/_s2sx/gensfx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ go build -o=s2c ../s2c

rm -rf sfx-exe/ || true

GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o ./sfx-exe/$GOOS-$GOARCH ./_unpack/main.go
GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o ./sfx-exe/$GOOS-$GOARCH ./_unpack/main.go
GOOS=linux GOARCH=arm go build -ldflags="-s -w" -o ./sfx-exe/$GOOS-$GOARCH ./_unpack/main.go
GOOS=linux GOARCH=ppc64le go build -ldflags="-s -w" -o ./sfx-exe/$GOOS-$GOARCH ./_unpack/main.go
GOOS=linux GOARCH=mpis64 go build -ldflags="-s -w" -o ./sfx-exe/$GOOS-$GOARCH ./_unpack/main.go
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o ./sfx-exe/linux-amd64 ./_unpack/main.go
GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o ./sfx-exe/linux-arm64 ./_unpack/main.go
GOOS=linux GOARCH=arm go build -ldflags="-s -w" -o ./sfx-exe/linux-arm ./_unpack/main.go
GOOS=linux GOARCH=ppc64le go build -ldflags="-s -w" -o ./sfx-exe/linux-ppc64le ./_unpack/main.go
GOOS=linux GOARCH=mips64 go build -ldflags="-s -w" -o ./sfx-exe/linux-mips64 ./_unpack/main.go

GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o ./sfx-exe/$GOOS-$GOARCH ./_unpack/main.go
GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -o ./sfx-exe/$GOOS-$GOARCH ./_unpack/main.go
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o ./sfx-exe/darwin-amd64 ./_unpack/main.go
GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -o ./sfx-exe/darwin-arm64 ./_unpack/main.go

GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o ./sfx-exe/$GOOS-$GOARCH ./_unpack/main.go
GOOS=windows GOARCH=386 go build -ldflags="-s -w" -o ./sfx-exe/$GOOS-$GOARCH ./_unpack/main.go
GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o ./sfx-exe/windows-amd64 ./_unpack/main.go
GOOS=windows GOARCH=386 go build -ldflags="-s -w" -o ./sfx-exe/windows-386 ./_unpack/main.go

./s2c -rm -slower sfx-exe/*

Expand Down

0 comments on commit 04fbe89

Please sign in to comment.