4 # echo "[GCC $PWD]:" "$@"
8 # These will be replaced by m4
10 ppflags
="PPFLAGS -D__helenos__"
18 # Guess what is actually running...
21 -E) running_pp
=true
;;
22 -c) running_cc
=true
;;
27 # ...and pass the correct flags
29 run_it
$cross_cc $ppflags "$@"
30 elif $running_cc; then
31 run_it
$cross_cc $ppflags $cflags "$@"
33 run_it
$cross_cc $ppflags $cflags "$@" $ldflags