Gentoo Archives: gentoo-dev

From: Matthias Maier <tamiko@g.o>
To: gentoo-dev@l.g.o
Cc: toolchain@g.o, embedded@g.o, Matthias Maier <tamiko@g.o>
Subject: [gentoo-dev] [PATCH 3/5] toolchain-glibc.eclass: Always enable stack guard randomization (bug #621742).
Date: Wed, 14 Jun 2017 23:16:17
Message-Id: 20170614231541.29719-4-tamiko@gentoo.org
In Reply to: [gentoo-dev] [RFC] toolchain-funcs.eclass / toolchain-glibc.eclass - gcc-6 bugfixes and updates by Matthias Maier
1 From: Arfrever Frehtes Taifersar Arahesis <Arfrever@××××××.Org>
2
3 Signed-off-by: Matthias Maier <tamiko@g.o>
4 ---
5 eclass/toolchain-glibc.eclass | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
7
8 diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
9 index eba829cd2f..5be31eb193 100644
10 --- a/eclass/toolchain-glibc.eclass
11 +++ b/eclass/toolchain-glibc.eclass
12 @@ -780,7 +780,7 @@ glibc_do_configure() {
13 [[ -d ports ]] && addons+=",ports"
14 popd > /dev/null
15
16 - myconf+=( $(use_enable hardened stackguard-randomization) )
17 + myconf+=( --enable-stackguard-randomization )
18 if has_version '<sys-libs/glibc-2.13' ; then
19 myconf+=( --enable-old-ssp-compat )
20 fi
21 --
22 2.13.0