diff options
-rwxr-xr-x | fixup_ptxconfigs.sh | 11 |
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 |