diff --git a/Makefile b/Makefile index dd7ff277..5ba5cde1 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ -LDFLAGS:="-ldflags -s -w" +LDFLAGS:="-s -w" run: go run . build: go build -o bin/rmfakecloud-x64 - GOARCH=arm GOARM=7 go build $(LDFLAGS) -o bin/rmfakecloud-armv7 - GOARCH=arm GOARM=6 go build $(LDFLAGS) -o bin/rmfakecloud-armv6 + GOARCH=arm GOARM=7 go build -ldflags $(LDFLAGS) -o bin/rmfakecloud-armv7 + GOARCH=arm GOARM=6 go build -ldflags $(LDFLAGS) -o bin/rmfakecloud-armv6 test: @echo "some test"