X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure;h=6daa5b3686cb280ca48df4605873a82951143a40;hb=207460d09742304941f1a010a89fc2efa46bcb29;hp=7e5a8dfb1b2097689a47c141f2f41306b90ffb3f;hpb=498a100d05666024fd0d409a27709a03e7e58dd3;p=musl diff --git a/configure b/configure index 7e5a8dfb..6daa5b36 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 # @@ -274,6 +275,11 @@ printf "warning: disabling dynamic linking support\n" shared=no } +test "$ARCH" = "mips" && { +printf "warning: disabling dynamic linking support on mips (not yet supported)\n" +shared=no +} + printf "creating config.mak... "