summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfixup_ptxconfigs.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/fixup_ptxconfigs.sh b/fixup_ptxconfigs.sh
index 27af973..b8b3f26 100755
--- a/fixup_ptxconfigs.sh
+++ b/fixup_ptxconfigs.sh
@@ -234,6 +234,11 @@ fixup()
exit 1
;;
esac
+ case "${PTXCONF_GNU_TARGET}" in
+ *linux-gnu*)
+ PTXCONF_CROSS_GCC_CONFIG_EXTRA="$PTXCONF_CROSS_GCC_CONFIG_EXTRA --enable-linker-build-id"
+ ;;
+ esac
#
# PTXCONF_GLIBC_CONFIG_EXTRA_CROSS
#