]> git.draconx.ca Git - gentoo-draconx.git/blob - sys-devel/gcc/files/c89
xorg-server: Add live ebuild.
[gentoo-draconx.git] / sys-devel / gcc / files / c89
1 #! /bin/sh
2
3 # Call the appropriate C compiler with options to accept ANSI/ISO C
4 # The following options are the same (as of gcc-2.95):
5 #       -ansi
6 #       -std=c89
7 #       -std=iso9899:1990
8
9 for i; do
10     case "$i" in
11         -ansi|-std=c89|-std=iso9899:1990)
12             ;;
13         -std=*)
14             echo >&2 "`basename $0` called with non ANSI/ISO C90 option $i"
15             exit 1
16             ;;
17     esac
18 done
19
20 exec gcc -std=c89 -pedantic -U_FORTIFY_SOURCE "$@"