summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-07-04 01:55:42 -0400
committerMike Frysinger <vapier@gentoo.org>2016-07-05 03:48:06 -0400
commitba7bdfab833dcafb7ed2f7366a58862ba6719b09 (patch)
treec2f8dbf5e43d67e41e8ee89e7a07bf0810c34eec /eclass
parentapp-misc/tpipe: EAPI 6 bump. (diff)
downloadgentoo-ba7bdfab833dcafb7ed2f7366a58862ba6719b09.tar.gz
gentoo-ba7bdfab833dcafb7ed2f7366a58862ba6719b09.tar.bz2
gentoo-ba7bdfab833dcafb7ed2f7366a58862ba6719b09.zip
toolchain-binutils.eclass: pass new enable relro configure flag
Newer versions offer a configure flag so we don't have to manually patch in the default setting.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 34c85696aebb..46e972a87805 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -298,6 +298,8 @@ toolchain-binutils_src_configure() {
--enable-obsolete
--enable-shared
--enable-threads
+ # Newer versions (>=2.27) offer a configure flag now.
+ --enable-relro
# Newer versions (>=2.24) make this an explicit option. #497268
--enable-install-libiberty
--disable-werror