0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2025-02-17 09:35:52 +00:00
2023-09-18 13:52:58 +03:00

11 lines
215 B
Bash

#!/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+"$@"}