diff options
author | 2004-08-08 21:07:21 +0000 | |
---|---|---|
committer | 2004-08-08 21:07:21 +0000 | |
commit | 1c8a2abd0ce1a11c33cf2ebec82a730f1c1d9c45 (patch) | |
tree | f675ed36f321ad644b75bd6d646ee5098246398a /eclass/flag-o-matic.eclass | |
parent | Version bump for CAN-2004-0685, bug #59769. (diff) | |
download | historical-1c8a2abd0ce1a11c33cf2ebec82a730f1c1d9c45.tar.gz historical-1c8a2abd0ce1a11c33cf2ebec82a730f1c1d9c45.tar.bz2 historical-1c8a2abd0ce1a11c33cf2ebec82a730f1c1d9c45.zip |
add -fno-stack-protector and -fno-pie to allowed flags
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 83a069b998ac..564e59898da3 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.67 2004/08/07 04:24:41 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.68 2004/08/08 21:07:21 lv Exp $ # # Author Bart Verwilst <verwilst@gentoo.org> @@ -73,7 +73,7 @@ IUSE="${IUSE} debug" # C[XX]FLAGS that we allow in strip-flags setup-allowed-flags() { if [ -z "${ALLOWED_FLAGS}" ] ; then - export ALLOWED_FLAGS="-O -O1 -O2 -mcpu -march -mtune -fstack-protector -fno-unit-at-a-time -pipe -g" + export ALLOWED_FLAGS="-O -O1 -O2 -mcpu -march -mtune -fstack-protector -fno-stack-protector -fno-pie -fno-unit-at-a-time -pipe -g" case "${ARCH}" in mips) ALLOWED_FLAGS="${ALLOWED_FLAGS} -mips1 -mips2 -mips3 -mips4 -mabi" ;; amd64) ALLOWED_FLAGS="${ALLOWED_FLAGS} -fPIC -m64" ;; |