ref: eaadfb58695f1b5928be47e87bb00d7a6096a3ab
parent: adaf2b697c618ccc89798772e228df19ab401c83
parent: 0905af38fc98b4acaa1362d05fc78dc1fe6ace23
author: John Koleszar <jkoleszar@google.com>
date: Mon Feb 7 01:21:56 EST 2011
Merge "Translates -g from LDFLAGS as --debug in armlink_adapter.sh"
--- a/build/make/armlink_adapter.sh
+++ b/build/make/armlink_adapter.sh
@@ -17,15 +17,17 @@
on_of=1
elif [ "$i" == "-v" ]; then
verbose=1
+ elif [ "$i" == "-g" ]; then
+ args="${args} --debug"
elif [ "$on_of" == "1" ]; then
outfile=$i
- on_of=0
+ on_of=0
elif [ -f "$i" ]; then
infiles="$infiles $i"
elif [ "${i:0:2}" == "-l" ]; then
libs="$libs ${i#-l}"
elif [ "${i:0:2}" == "-L" ]; then
- libpaths="${libpaths} ${i#-L}"
+ libpaths="${libpaths} ${i#-L}"
else
args="${args} ${i}"
fi
--
⑨