Commit 292f6f28 authored by Max Maton's avatar Max Maton

Don't add linker flags on build

parent 9bab56e7
......@@ -9,8 +9,8 @@ linux: pfmfix
dependencies:
pfmfix.exe: src/pfmfix.go dependencies
GOPATH="$$(pwd)" CGO_ENABLED=0 GOOS=windows GOARCH=386 CC=i686-w64-mingw32-gcc go build -ldflags "-linkmode external -extldflags -static" $<
GOPATH="$$(pwd)" CGO_ENABLED=0 GOOS=windows GOARCH=386 CC=i686-w64-mingw32-gcc go build -installsuffix cgo -ldflags "-linkmode external -extldflags -static" $<
pfmfix: src/pfmfix.go dependencies
GOPATH="$$(pwd)" CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -ldflags "-linkmode external -extldflags -static" $<
GOPATH="$$(pwd)" CGO_ENABLED=0 GOOS=linux GOARCH=386 go build $<
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment