toolchain-binutils.eclass: pass new enable relro configure flag
authorMike Frysinger <vapier@gentoo.org>
Mon, 4 Jul 2016 05:55:42 +0000 (01:55 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 5 Jul 2016 07:48:06 +0000 (03:48 -0400)
Newer versions offer a configure flag so we don't have to manually patch
in the default setting.

eclass/toolchain-binutils.eclass

index 34c85696aebbd216a72106018d82b89a81314bdc..46e972a87805b76a52c816f6d1ef93b8699429bb 100644 (file)
@@ -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