History

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

John Koleszar committed 15 years ago

Commit eaadfb52 parents adaf2b6 0905af31 file · +4 −2Browse files

Unified · Split

build/make/armlink_adapter.sh+4−2
@@ -17,15 +17,17 @@ for i; do · 16 unmodified lines
17 on_of=117 on_of=1
18 elif [ "$i" == "-v" ]; then18 elif [ "$i" == "-v" ]; then
19 verbose=119 verbose=1
20 elif [ "$i" == "-g" ]; then
21 args="${args} --debug"
20 elif [ "$on_of" == "1" ]; then22 elif [ "$on_of" == "1" ]; then
21 outfile=$i23 outfile=$i
22 on_of=024 on_of=0
23 elif [ -f "$i" ]; then25 elif [ -f "$i" ]; then
24 infiles="$infiles $i"26 infiles="$infiles $i"
25 elif [ "${i:0:2}" == "-l" ]; then27 elif [ "${i:0:2}" == "-l" ]; then
26 libs="$libs ${i#-l}"28 libs="$libs ${i#-l}"
27 elif [ "${i:0:2}" == "-L" ]; then29 elif [ "${i:0:2}" == "-L" ]; then
28 libpaths="${libpaths} ${i#-L}"30 libpaths="${libpaths} ${i#-L}"
29 else31 else
30 args="${args} ${i}"32 args="${args} ${i}"
31 fi33 fi

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t