repo.or.cz
/
unleashed
/
tickless.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git]
/
usr
/
src
/
tools
/
scripts
/
gcc-wrap.sh
blob
a2fc10d70f3bdef4fbb64a67ac9ac624ceded265
1
#!/bin/sh
2
3
libc
=
"-lc"
4
5
for
a
in
"$@"
;
do
6
case
"
$a
"
in
7
-ffreestanding
|
-shared
|
-c
|
-S
)
8
libc
=
""
9
break
10
;;
11
esac
12
done
13
14
exec
"$@"
$libc