Skip to content
Snippets Groups Projects
Commit eaadfb58 authored by John Koleszar's avatar John Koleszar Committed by Code Review
Browse files

Merge "Translates -g from LDFLAGS as --debug in armlink_adapter.sh"

parents adaf2b69 0905af38
No related branches found
No related tags found
No related merge requests found
...@@ -17,15 +17,17 @@ for i; do ...@@ -17,15 +17,17 @@ for i; do
on_of=1 on_of=1
elif [ "$i" == "-v" ]; then elif [ "$i" == "-v" ]; then
verbose=1 verbose=1
elif [ "$i" == "-g" ]; then
args="${args} --debug"
elif [ "$on_of" == "1" ]; then elif [ "$on_of" == "1" ]; then
outfile=$i outfile=$i
on_of=0 on_of=0
elif [ -f "$i" ]; then elif [ -f "$i" ]; then
infiles="$infiles $i" infiles="$infiles $i"
elif [ "${i:0:2}" == "-l" ]; then elif [ "${i:0:2}" == "-l" ]; then
libs="$libs ${i#-l}" libs="$libs ${i#-l}"
elif [ "${i:0:2}" == "-L" ]; then elif [ "${i:0:2}" == "-L" ]; then
libpaths="${libpaths} ${i#-L}" libpaths="${libpaths} ${i#-L}"
else else
args="${args} ${i}" args="${args} ${i}"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment