From 5accddbb26d0cb461fa7bf93cac2d72b177b761d Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Thu, 19 Nov 2015 09:55:48 +0100 Subject: [PATCH] go, build-style/go: set nopie=yes --- common/environment/build-style/go.sh | 1 + srcpkgs/go/template | 1 + 2 files changed, 2 insertions(+) diff --git a/common/environment/build-style/go.sh b/common/environment/build-style/go.sh index 450c9f3c77..b3d42321a3 100644 --- a/common/environment/build-style/go.sh +++ b/common/environment/build-style/go.sh @@ -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;; diff --git a/srcpkgs/go/template b/srcpkgs/go/template index b3d3e41ef5..d5c3070599 100644 --- a/srcpkgs/go/template +++ b/srcpkgs/go/template @@ -16,6 +16,7 @@ checksum="299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b nostrip=yes noverifyrdeps=yes +nopie=yes _go_targetarch() { local hostarch targetarch