dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / tools / scripts / gcc-wrap.sh
bloba2fc10d70f3bdef4fbb64a67ac9ac624ceded265
1 #!/bin/sh
3 libc="-lc"
5 for a in "$@" ; do
6 case "$a" in
7 -ffreestanding|-shared|-c|-S)
8 libc=""
9 break
11 esac
12 done
14 exec "$@" $libc