summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-02-22 14:03:44 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-06-04 07:12:03 +0200
commit0379fd4eb19f2bf2466ab9e157e3e1e316af0d9f (patch)
tree15dea24de6bc975c66edd5daecfae1972fbf4e64
parenta61794f27a351a307d6112d2fb1a78309d9b87dd (diff)
downloadOSELAS.Toolchain-0379fd4eb19f2bf2466ab9e157e3e1e316af0d9f.tar.gz
fixup_ptxconfigs.sh: add --enable-stackguard-randomization --enable-lock-elision to glibc configure options
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xfixup_ptxconfigs.sh11
1 files changed, 11 insertions, 0 deletions
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