#
if test -z "$wrapper" ; then
printf "checking whether compiler is gcc... "
-if fnmatch 'gcc*|GCC*' "$("$CC" --version 2>/dev/null)" ; then
+if fnmatch '*gcc\ version*' "$("$CC" -v 2>&1)" ; then
echo yes
printf "checking whether to build musl-gcc wrapper... "
wrapper=yes
|| tryflag CFLAGS_C99FSE -fno-builtin
tryflag CFLAGS_C99FSE -fexcess-precision=standard \
|| tryflag CFLAGS_C99FSE -ffloat-store
+tryflag CFLAGS_C99FSE -frounding-math
#
# Setup basic default CFLAGS: debug, optimization, and -pipe