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