source:
npl/system/gcc/c99.sh
@
cf6b9ba
| Last change on this file since cf6b9ba was 1a19ecd, checked in by , 9 years ago | |
|---|---|
|
|
| File size: 215 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | fl="-std=c99" |
| 3 | for opt; do |
| 4 | case "$opt" in |
| 5 | -std=c99|-std=iso9899:1999) fl="";; |
| 6 | -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2 |
| 7 | exit 1;; |
| 8 | esac |
| 9 | done |
| 10 | exec gcc $fl ${1+"$@"} |
Note: See TracBrowser
for help on using the repository browser.
