X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure;h=69ca21f5b4acae5481c68cbf21a56b6431511110;hb=2b3cc04a8d383a56a7031e98a7e4da36958d943a;hp=7e5a8dfb1b2097689a47c141f2f41306b90ffb3f;hpb=498a100d05666024fd0d409a27709a03e7e58dd3;p=musl diff --git a/configure b/configure index 7e5a8dfb..69ca21f5 100755 --- a/configure +++ b/configure @@ -197,6 +197,7 @@ case "$target" in arm*) ARCH=arm ;; i?86*) ARCH=i386 ;; x86_64*) ARCH=x86_64 ;; +mips-*) ARCH=mips ;; unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;; *) fail "$0: unknown or unsupported target \"$target\"" ;; esac @@ -209,7 +210,7 @@ tryflag CFLAGS_C99FSE -nostdinc tryflag CFLAGS_C99FSE -ffreestanding \ || tryflag CFLAGS_C99FSE -fno-builtin tryflag CFLAGS_C99FSE -fexcess-precision=standard \ -|| tryflag CFLAGS_C99FSE -ffloat-store +|| { test "$ARCH" = i386 && tryflag CFLAGS_C99FSE -ffloat-store ; } tryflag CFLAGS_C99FSE -frounding-math #