0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

configure: Reserve fpunit option for specific compilation units only; move no-sse4a option.

This commit is contained in:
Jason Volk 2020-10-01 16:25:23 -07:00
parent 684839235e
commit a9ef8744b3

View file

@ -724,13 +724,11 @@ AM_COND_IF([UNTUNED],
RB_VAR_PREPEND([CXXFLAGS], ["-mtune=native"])
RB_VAR_PREPEND([CXXFLAGS], ["-march=native"])
dnl AMD K10's SSE4a doesn't work with valgrind
RB_VAR_PREPEND([CXXFLAGS], ["-mno-sse4a"])
AS_CASE([$host_cpu],
[x86_64],
[
RB_VAR_PREPEND([CXXFLAGS], ["-mfpmath=sse"])
dnl AMD K10's SSE4a doesn't work with valgrind
RB_VAR_PREPEND([CXXFLAGS], ["-mno-sse4a"])
])
])
])