summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtargets/buildtarget2
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/buildtarget b/targets/buildtarget
index 04ae5ebe32..22b73afbc2 100755
--- a/targets/buildtarget
+++ b/targets/buildtarget
@@ -72,7 +72,7 @@ rm -rf .$$.tmp
ld --help | awk '{for (i=1;i<=NF;i++) if ($i ~ /build-id/){n++} }; END {exit n}'
build_id=$?
if [ $build_id -ge 1 ] ; then
- EXTRA_LFLAGS+=" -Wl,--build-id=none"
+ EXTRA_LFLAGS="$EXTRA_LFLAGS -Wl,--build-id=none"
fi
for i in $build_dir/Makefile.settings $build_dir/*/Makefile.settings