X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure;h=7c5eeba2866983fa0a4507cc00bd38c8405972cf;hb=470569ca00f4c6e388396614b9b9ce62aef239bb;hp=7e5a8dfb1b2097689a47c141f2f41306b90ffb3f;hpb=498a100d05666024fd0d409a27709a03e7e58dd3;p=musl diff --git a/configure b/configure index 7e5a8dfb..7c5eeba2 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 # @@ -275,6 +276,7 @@ shared=no } + printf "creating config.mak... " exec 3>&1 1>config.mak