summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-05 14:38:02 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-08 15:41:06 +0100
commit6a9073d0613efc0d5996390843552e66908be571 (patch)
tree4a030bfc481771eb114e2a6f825283d731e881a3
parentfb2cbc56e0f7d27d116d0f6eca58f9e2620b4fc3 (diff)
downloadOSELAS.Toolchain-6a9073d0613efc0d5996390843552e66908be571.tar.gz
fixup_ptxconfigs.sh: enable build-id by default
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-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
#