source:
npl/system/gcc/c99.sh
@
b4abfab
Last change on this file since b4abfab was 1a19ecd, checked in by , 8 years ago | |
---|---|
|
|
File size: 215 bytes |
Rev | Line | |
---|---|---|
[1a19ecd] | 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.