diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-07-03 23:53:05 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-07-03 23:53:05 -0400 |
commit | 2121b8a44f086f6fb8aed98102379e7de9a4a5f1 (patch) | |
tree | fa7ccac9b48b0b03743efdbfa79cff921f36b2d1 | |
parent | d6c0efe106b1016108207fb6872820c06dcef4f8 (diff) | |
download | musl-2121b8a44f086f6fb8aed98102379e7de9a4a5f1.tar.gz musl-2121b8a44f086f6fb8aed98102379e7de9a4a5f1.tar.xz musl-2121b8a44f086f6fb8aed98102379e7de9a4a5f1.zip |
configure: only use -ffloat-store on i386
this option is expensive and only used on old gcc's that lack -fexcess-precision=standed, but it's not needed on non-i386 archs where floating point does not have excess precision anyway. if musl ever supports m68k, i think it will need to be special-cased too. i'm not aware of any other archs with excess precision.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure index 7e5a8dfb..ae05b396 100755 --- a/configure +++ b/configure @@ -209,7 +209,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 # |