summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-11-01 03:45:53 +0000
committerMike Frysinger <vapier@gentoo.org>2014-11-01 03:45:53 +0000
commit3c25fa1e9a2027ae24f4d3dfe311ffeb34f9c358 (patch)
treeaf1124e2f74ac517bab1d5b8ee1c1c54873afd7c /eclass
parentMy first python package. Dedicated to Diego and Mike. (diff)
downloadhistorical-3c25fa1e9a2027ae24f4d3dfe311ffeb34f9c358.tar.gz
historical-3c25fa1e9a2027ae24f4d3dfe311ffeb34f9c358.tar.bz2
historical-3c25fa1e9a2027ae24f4d3dfe311ffeb34f9c358.zip
add -nopie to the allow flag list #527214
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 5a8994b4c156..85e078079dd7 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 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.202 2014/08/11 00:36:05 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.203 2014/11/01 03:45:53 vapier Exp $
# @ECLASS: flag-o-matic.eclass
# @MAINTAINER:
@@ -27,7 +27,7 @@ setup-allowed-flags() {
ALLOWED_FLAGS+=" -O -O1 -O2 -Os -Og -mcpu -march -mtune"
ALLOWED_FLAGS+=" -fstack-protector*"
ALLOWED_FLAGS+=" -fbounds-checking -fno-strict-overflow"
- ALLOWED_FLAGS+=" -fno-PIE -fno-pie -fno-unit-at-a-time"
+ ALLOWED_FLAGS+=" -fno-PIE -fno-pie -nopie -fno-unit-at-a-time"
ALLOWED_FLAGS+=" -g -g[0-9] -ggdb -ggdb[0-9] -gdwarf-* gstabs -gstabs+"
ALLOWED_FLAGS+=" -fno-ident -fpermissive -frecord-gcc-switches"
ALLOWED_FLAGS+=" -fdiagnostics*"