ref: 0905af38fc98b4acaa1362d05fc78dc1fe6ace23
parent: bf5f585b0d81d574ac6df53b387611760078aaa2
author: Attila Nagy <attilanagy@google.com>
date: Fri Feb 4 05:21:43 EST 2011
Translates -g from LDFLAGS as --debug in armlink_adapter.sh Change-Id: I23ad88db2149ab788ff39aed8624a7ef0e97da2e
--- 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