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
commitdd2363c81e320b7ba1484455277a7473e060990e (patch)
treee07cf3b14e6b8bed5a628a25e435a37756629d3a /eclass
parentMy first python package. Dedicated to Diego and Mike. (diff)
downloadgentoo-2-dd2363c81e320b7ba1484455277a7473e060990e.tar.gz
gentoo-2-dd2363c81e320b7ba1484455277a7473e060990e.tar.bz2
gentoo-2-dd2363c81e320b7ba1484455277a7473e060990e.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*"