summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-18 12:10:55 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-18 12:12:50 +0000
commitc007515ecb55f7791845c59a3b49bd7ee8aa792f (patch)
tree9d7c72adf80cde3ba3f043f1ab8b1867c9fa5576 /dev-lang/ghc/ghc-7.10.3.ebuild
parentdev-lang/ghc: drop '-fno-stack-protector' (diff)
downloadgentoo-c007515ecb55f7791845c59a3b49bd7ee8aa792f.tar.gz
gentoo-c007515ecb55f7791845c59a3b49bd7ee8aa792f.tar.bz2
gentoo-c007515ecb55f7791845c59a3b49bd7ee8aa792f.zip
dev-lang/ghc: do not persist '-no-pie' in ghc wrapper, bug #609624
This fixes build failure of shared libraries on gcc-6.3.0 Reported-by: Helmut Jarausch Bug: https://bugs.gentoo.org/609624 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-lang/ghc/ghc-7.10.3.ebuild')
-rw-r--r--dev-lang/ghc/ghc-7.10.3.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/ghc/ghc-7.10.3.ebuild b/dev-lang/ghc/ghc-7.10.3.ebuild
index a963d059c61c..40d8745f7074 100644
--- a/dev-lang/ghc/ghc-7.10.3.ebuild
+++ b/dev-lang/ghc/ghc-7.10.3.ebuild
@@ -251,7 +251,7 @@ ghc_setup_cflags() {
# gcc-6.3 has support for -no-pie upstream, but spelling differs from
# gentoo-specific '-nopie'. We enable it in non-bootstrap to allow
# hardened users try '-pie' in USE=ghcbootstrap mode.
- append-ghc-cflags persistent compile link -no-pie
+ append-ghc-cflags compile link -no-pie
fi
gcc-specs-ssp && append-ghc-cflags persistent compile -fno-stack-protector