0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 01:59:33 +02:00

configure: Disable use of SSE4a instructions.

This commit is contained in:
Jason Volk 2020-07-10 21:30:56 -07:00
parent 98009cf4d7
commit dcc1b37d25

View file

@ -420,8 +420,12 @@ AM_COND_IF([GENERIC],
RB_VAR_PREPEND([CXXFLAGS], ["-mtune=generic"])
], [
machine_tuning="native instruction set"
RB_VAR_PREPEND([CXXFLAGS], ["-march=native"])
dnl AMD K10's SSE4a doesn't work with valgrind
RB_VAR_PREPEND([CXXFLAGS], ["-mno-sse4a"])
RB_VAR_PREPEND([CXXFLAGS], ["-mtune=native"])
RB_VAR_PREPEND([CXXFLAGS], ["-march=native"])
])
dnl