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