]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
clang requires -mno-see for 387 math
authorStan Shebs <stanshebs@google.com>
Tue, 23 Jan 2018 17:40:20 +0000 (09:40 -0800)
committerStan Shebs <stanshebs@google.com>
Thu, 25 Jan 2018 00:03:40 +0000 (16:03 -0800)
sysdeps/x86/fpu/Makefile

index 600e42c3db11ca7ce79c62f3b04e0d61fd4fc368..4fac32d828eb9003cafd05d4e04631d028c29227 100644 (file)
@@ -9,6 +9,9 @@ CFLAGS-test-fenv-sse.c += -msse2 -mfpmath=sse
 CFLAGS-test-fenv-clear-sse.c += -msse2 -mfpmath=sse
 CFLAGS-test-fenv-sse-2.c += -msse2 -mfpmath=sse
 CFLAGS-test-flt-eval-method-387.c += -fexcess-precision=standard -mfpmath=387
+ifeq ($(with-clang),yes)
+CFLAGS-test-flt-eval-method-387.c += -mno-sse
+endif
 CFLAGS-test-flt-eval-method-sse.c += -fexcess-precision=standard -msse2 \
                                     -mfpmath=sse
 endif