commit: ba7bdfab833dcafb7ed2f7366a58862ba6719b09
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 4 05:55:42 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Jul 5 07:48:06 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba7bdfab
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.
eclass/toolchain-binutils.eclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 34c8569..46e972a 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