diff options
author | Stan Shebs <stanshebs@google.com> | 2018-01-23 09:40:20 -0800 |
---|---|---|
committer | Stan Shebs <stanshebs@google.com> | 2018-01-24 16:03:40 -0800 |
commit | 4a52f7accbd9e1a1c915b33fa8ec46c446ee2ff0 (patch) | |
tree | af84634e6e2dd7fcc4332d146ff6a43ff199034c | |
parent | c0085baf04e7c2c25876a3488abc9c0c8e5a1987 (diff) | |
download | glibc-4a52f7accbd9e1a1c915b33fa8ec46c446ee2ff0.tar.gz glibc-4a52f7accbd9e1a1c915b33fa8ec46c446ee2ff0.tar.xz glibc-4a52f7accbd9e1a1c915b33fa8ec46c446ee2ff0.zip |
clang requires -mno-see for 387 math
-rw-r--r-- | sysdeps/x86/fpu/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/x86/fpu/Makefile b/sysdeps/x86/fpu/Makefile index 600e42c3db..4fac32d828 100644 --- a/sysdeps/x86/fpu/Makefile +++ b/sysdeps/x86/fpu/Makefile @@ -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 |