diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2022-05-07 18:53:48 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-05-08 06:59:48 +0200 |
commit | 900499bb8d5c10864d8da988b92609ab3376e422 (patch) | |
tree | 71553b171d7ba41a283de83711c79b762e66bb13 /testing/source/gcc/c99.sh | |
parent | fc633297c803d0df0f1aa4531105b4ddacc94fac (diff) | |
download | current-900499bb8d5c10864d8da988b92609ab3376e422.tar.gz current-900499bb8d5c10864d8da988b92609ab3376e422.tar.xz |
Sat May 7 18:53:48 UTC 202220220507185348
a/kernel-firmware-20220503_d4b7551-noarch-1.txz: Upgraded.
ap/sqlite-3.38.5-x86_64-1.txz: Upgraded.
d/git-2.36.1-x86_64-1.txz: Upgraded.
n/stunnel-5.64-x86_64-1.txz: Upgraded.
testing/packages/gcc-12.1.0-x86_64-1.txz: Added.
testing/packages/gcc-g++-12.1.0-x86_64-1.txz: Added.
testing/packages/gcc-gdc-12.1.0-x86_64-1.txz: Added.
testing/packages/gcc-gfortran-12.1.0-x86_64-1.txz: Added.
testing/packages/gcc-gnat-12.1.0-x86_64-1.txz: Added.
testing/packages/gcc-go-12.1.0-x86_64-1.txz: Added.
testing/packages/gcc-objc-12.1.0-x86_64-1.txz: Added.
Diffstat (limited to 'testing/source/gcc/c99.sh')
-rw-r--r-- | testing/source/gcc/c99.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/source/gcc/c99.sh b/testing/source/gcc/c99.sh new file mode 100644 index 000000000..88dd80640 --- /dev/null +++ b/testing/source/gcc/c99.sh @@ -0,0 +1,10 @@ +#!/bin/sh +fl="-std=c99" +for opt; do + case "$opt" in + -std=c99|-std=iso9899:1999) fl="";; + -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2 + exit 1;; + esac +done +exec gcc $fl ${1+"$@"} |