go, build-style/go: set nopie=yes
This commit is contained in:
parent
d72a69adc6
commit
5accddbb26
2 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ if [ "$CROSS_BUILD" ]; then
|
|||
hostmakedepends+=" go-cross-linux"
|
||||
fi
|
||||
nostrip=yes
|
||||
nopie=yes
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6*) export GOARCH=arm; export GOARM=6;;
|
||||
|
|
|
@ -16,6 +16,7 @@ checksum="299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
|
|||
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
nopie=yes
|
||||
|
||||
_go_targetarch() {
|
||||
local hostarch targetarch
|
||||
|
|
Loading…
Reference in a new issue