diff options
author | Alexander Gabert <pappy@gentoo.org> | 2004-05-12 11:07:44 +0000 |
---|---|---|
committer | Alexander Gabert <pappy@gentoo.org> | 2004-05-12 11:07:44 +0000 |
commit | 3816a6867a95b182fd554f94c2d781dcbb01f1e8 (patch) | |
tree | 23beb8884919a84ffaa0a64991df31cb9781d752 /dev-lang/ghc/ghc-6.0.1.ebuild | |
parent | app-text/tetex changed to virtual/tetex as per bug #50829 (diff) | |
download | historical-3816a6867a95b182fd554f94c2d781dcbb01f1e8.tar.gz historical-3816a6867a95b182fd554f94c2d781dcbb01f1e8.tar.bz2 historical-3816a6867a95b182fd554f94c2d781dcbb01f1e8.zip |
added new hardened switches for nonPIE and nonSSP building
Diffstat (limited to 'dev-lang/ghc/ghc-6.0.1.ebuild')
-rw-r--r-- | dev-lang/ghc/ghc-6.0.1.ebuild | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/dev-lang/ghc/ghc-6.0.1.ebuild b/dev-lang/ghc/ghc-6.0.1.ebuild index 56136ee98697..bcd433a0bda6 100644 --- a/dev-lang/ghc/ghc-6.0.1.ebuild +++ b/dev-lang/ghc/ghc-6.0.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.0.1.ebuild,v 1.4 2003/12/17 17:58:09 kosmikus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.0.1.ebuild,v 1.5 2004/05/12 11:07:44 pappy Exp $ #Some explanation of bootstrap logic: # @@ -89,13 +89,9 @@ src_compile() { # disable the automatic PIC building which is considered as Prologue Junk by the Haskell Compiler # thanks to Peter Simons for finding this and giving notice on bugs.gentoo.org - if has_version "sys-devel/hardened-gcc" - then - echo "SRC_CC_OPTS+=-yet_exec -yno_propolice" >> mk/build.mk - echo "SRC_HC_OPTS+=-optc-yet_exec -optc-yno_propolice" >> mk/build.mk - echo "SRC_CC_OPTS+=-yet_exec -yno_propolice" >> mk/build.mk - echo "SRC_HC_OPTS+=-optc-yet_exec -optc-yno_propolice" >> mk/build.mk - fi + # new logic for hardened gcc specs file by pappy + echo "SRC_CC_OPTS+=-fno-pic -fno-stack-protector" >> mk/build.mk + echo "SRC_HC_OPTS+=-optc-fno-pic -optc-fno-stack-protector" >> mk/build.mk # unset SGML_CATALOG_FILES because documentation installation # breaks otherwise ... |