From 0379fd4eb19f2bf2466ab9e157e3e1e316af0d9f Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Mon, 22 Feb 2016 14:03:44 +0100 Subject: fixup_ptxconfigs.sh: add --enable-stackguard-randomization --enable-lock-elision to glibc configure options Signed-off-by: Michael Olbrich --- fixup_ptxconfigs.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/fixup_ptxconfigs.sh b/fixup_ptxconfigs.sh index 5b7f46d..5ca4362 100755 --- a/fixup_ptxconfigs.sh +++ b/fixup_ptxconfigs.sh @@ -234,6 +234,17 @@ fixup() exit 1 ;; esac + # + # PTXCONF_GLIBC_CONFIG_EXTRA_CROSS + # + case "${PTXCONF_GNU_TARGET}" in + powerpc-603e-linux-gnu|i*86*|x86_64-unknown-linux-gnu) + PTXCONF_GLIBC_CONFIG_EXTRA_CROSS="--enable-obsolete-rpc --enable-stackguard-randomization --enable-lock-elision" + ;; + *) + PTXCONF_GLIBC_CONFIG_EXTRA_CROSS="--enable-obsolete-rpc --enable-stackguard-randomization" + ;; + esac # # PTXCONF_GLIBC_ENABLE_KERNEL -- cgit v1.2.3