go, build-style/go: set nopie=yes

This commit is contained in:
Dominik Honnef 2015-11-19 09:55:48 +01:00
parent d72a69adc6
commit 5accddbb26
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" go-cross-linux" hostmakedepends+=" go-cross-linux"
fi fi
nostrip=yes nostrip=yes
nopie=yes
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
armv6*) export GOARCH=arm; export GOARM=6;; armv6*) export GOARCH=arm; export GOARM=6;;

View file

@ -16,6 +16,7 @@ checksum="299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
nostrip=yes nostrip=yes
noverifyrdeps=yes noverifyrdeps=yes
nopie=yes
_go_targetarch() { _go_targetarch() {
local hostarch targetarch local hostarch targetarch