X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=configure;h=902997e36a13ccf3504b75d47524b4743481861b;hp=df1d301114edfb8dfa2aa998e8c39cafdc994a69;hb=b5cbd549fd00aac164916fa0b6fea65d9dec60bf;hpb=64d2f8e82a877a52a3406ab77b930ea110aac228 diff --git a/configure b/configure index df1d3011..902997e3 100755 --- a/configure +++ b/configure @@ -148,7 +148,7 @@ test -n "$CC" || { echo "$0: cannot find a C compiler" ; exit 1 ; } # if test -z "$wrapper" ; then printf "checking whether compiler is gcc... " -if fnmatch 'gcc*|GCC*' "$("$CC" --version 2>/dev/null)" ; then +if fnmatch '*(GCC)*' "$("$CC" --version 2>/dev/null)" ; then echo yes printf "checking whether to build musl-gcc wrapper... " wrapper=yes @@ -192,6 +192,7 @@ tryflag CFLAGS_C99FSE -ffreestanding \ || 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