summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2010-04-08 06:41:00 (GMT)
committerJason Evans <jasone@canonware.com>2010-04-08 06:41:00 (GMT)
commit3395860921f80788d1daa8b767e7989ea175ca9e (patch)
treed8a885dbcbfe1573b5004a89c9e02588a355f2a8
parent0656ec0eb49ae2202b6b2978d517c054dfcd3503 (diff)
downloadjemalloc-3395860921f80788d1daa8b767e7989ea175ca9e.zip
jemalloc-3395860921f80788d1daa8b767e7989ea175ca9e.tar.gz
jemalloc-3395860921f80788d1daa8b767e7989ea175ca9e.tar.bz2
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.
-rw-r--r--jemalloc/configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/jemalloc/configure.ac b/jemalloc/configure.ac
index 4582c71..ce6e679 100644
--- a/jemalloc/configure.ac
+++ b/jemalloc/configure.ac
@@ -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