clang requires -mno-see for 387 math

This commit is contained in:
Stan Shebs 2018-01-23 09:40:20 -08:00
parent 3f1c409c0a
commit becb228b43

View 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