mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-10-28 13:49:56 -04:00
Build as PIE
This commit is contained in:
1 parent
0aa9fc0bda
commit
c8abca2912
4 files changed
+9
-9
No files matched your search
@@ -41,7 +41,7 @@ build() {
|
||||
esac
|
||||
|
||||
# compile binary
|
||||
CGO_ENABLED=0 go build -ldflags=\"-s -w\" -trimpath -tags=stxAll ./mutn.go
|
||||
CGO_ENABLED=0 go build -buildmode=pie -ldflags=\"-s -w\" -trimpath -tags=stxAll ./mutn.go
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
Reference in new issue
Block a user