source:
npl/system/gcc/c89.sh
@
a9c55d3
Last change on this file since a9c55d3 was 1a19ecd, checked in by , 8 years ago | |
---|---|
|
|
File size: 224 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | fl="-std=c89" |
3 | for opt; do |
4 | case "$opt" in |
5 | -ansi|-std=c89|-std=iso9899:1990) fl="";; |
6 | -std=*) echo "`basename $0` called with non ANSI/ISO C 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.