Don't build with -march=native.
Don't build with -march=native by default, because the generated code may perform especially poorly on ABI-compatible, but internally different, systems.
This commit is contained in:
parent
0656ec0eb4
commit
3395860921
@ -306,7 +306,6 @@ if test "x$enable_debug" = "x0" -a "x$no_CFLAGS" = "xyes" ; then
|
||||
if test "x$GCC" = "xyes" ; then
|
||||
JE_CFLAGS_APPEND([-O3])
|
||||
JE_CFLAGS_APPEND([-funroll-loops])
|
||||
JE_CFLAGS_APPEND([-march=native])
|
||||
else
|
||||
JE_CFLAGS_APPEND([-O])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user