summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2016-03-12 16:38:17 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-03-15 18:24:41 +0100
commit805d44f2c73edc59bfa03e1c9df954fe8313421e (patch)
tree8304e4b7ab2ac330697e91911c7d44c465610ee5 /payloads
parentf0acf47ae1c680a83b13b225172e0ab04d3e4bba (diff)
libpayload: Fix ARM workaround code
_LDFLAGS+="foo" did not work in my shell (bash on Ubuntu 15.10), so change it to _LDFLAGS="$_LDFLAGS foo". I'm mildly surprised that this ever worked. Change-Id: I59c10f34992240c6df2ec7f24aebc6daafb76493 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/14076 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'payloads')
-rwxr-xr-xpayloads/libpayload/bin/lpgcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/bin/lpgcc b/payloads/libpayload/bin/lpgcc
index 0974d03a97..04c7e584d0 100755
--- a/payloads/libpayload/bin/lpgcc
+++ b/payloads/libpayload/bin/lpgcc
@@ -184,7 +184,7 @@ else
if grep -q ARM64_A53_ERRATUM_843419=y $BASE/../libpayload.config &&
grep -q fix-cortex-a53-843419 $BASE/../libpayload.xcompile; then
- _LDFLAGS+=" -Wl,--fix-cortex-a53-843419"
+ _LDFLAGS="$_LDFLAGS -Wl,--fix-cortex-a53-843419"
fi
if [ $DEBUGME -eq 1 ]; then