Bump gcc patch for sabayon split package
Package-Manager: portage-2.2.7 RepoMan-Options: --force
This commit is contained in:
20
sys-devel/gcc/files/c89
Executable file
20
sys-devel/gcc/files/c89
Executable file
@@ -0,0 +1,20 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Call the appropriate C compiler with options to accept ANSI/ISO C
|
||||
# The following options are the same (as of gcc-2.95):
|
||||
# -ansi
|
||||
# -std=c89
|
||||
# -std=iso9899:1990
|
||||
|
||||
for i; do
|
||||
case "$i" in
|
||||
-ansi|-std=c89|-std=iso9899:1990)
|
||||
;;
|
||||
-std=*)
|
||||
echo >&2 "`basename $0` called with non ANSI/ISO C90 option $i"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
exec gcc -std=c89 -pedantic -U_FORTIFY_SOURCE "$@"
|
||||
Reference in New Issue
Block a user