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:
parent
684839235e
commit
a9ef8744b3
1 changed files with 2 additions and 4 deletions
|
@ -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"])
|
||||
])
|
||||
])
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue