dev-lang/ghc: drop '-fno-stack-protector'
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 18 Feb 2017 12:09:08 +0000 (12:09 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 18 Feb 2017 12:12:50 +0000 (12:12 +0000)
GHC does not use Evil Mangler any more thus
GHC should not care about stack protection in C code.

It should just work.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-lang/ghc/ghc-8.0.2.ebuild

index f4392497ce61690527271e998f007cf222606f51..1b6e17272179dbb5844b17e225cda806a9d88fc0 100644 (file)
@@ -245,7 +245,6 @@ ghc_setup_cflags() {
                # hardened users try '-pie' in USE=ghcbootstrap mode.
                append-ghc-cflags persistent compile link -no-pie
        fi
-       gcc-specs-ssp && append-ghc-cflags persistent compile      -fno-stack-protector
 
        # prevent from failind building unregisterised ghc:
        # http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg171602.html