summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-05 14:40:33 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-08 15:41:07 +0100
commit0befa20268999b975c465b039ac685c126c7146a (patch)
tree10d9dc7bf91dd0ca72299288081907a12c6a1f0b
parentb6406c5956d97c38878fd4e938dba608a5af7d5c (diff)
downloadOSELAS.Toolchain-0befa20268999b975c465b039ac685c126c7146a.tar.gz
OSELAS.Toolchain-0befa20268999b975c465b039ac685c126c7146a.tar.xz
fixup_ptxconfigs.sh: update default glibc options
- obsolete nls is still needed - enable strong stack protector - don't enable lock elision, it seems to cause various problems Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xfixup_ptxconfigs.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/fixup_ptxconfigs.sh b/fixup_ptxconfigs.sh
index 17083c8..5dcfb91 100755
--- a/fixup_ptxconfigs.sh
+++ b/fixup_ptxconfigs.sh
@@ -242,12 +242,10 @@ fixup()
#
# PTXCONF_GLIBC_CONFIG_EXTRA_CROSS
#
+ PTXCONF_GLIBC_CONFIG_EXTRA_CROSS="--enable-obsolete-rpc --enable-obsolete-nsl --enable-stackguard-randomization --enable-stack-protector=strong"
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"
+ x86_64-unknown-linux-gnu)
+ PTXCONF_GLIBC_CONFIG_EXTRA_CROSS="${PTXCONF_GLIBC_CONFIG_EXTRA_CROSS} --enable-mathvec"
;;
esac