From 3395860921f80788d1daa8b767e7989ea175ca9e Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Wed, 7 Apr 2010 23:41:00 -0700 Subject: [PATCH] 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. --- jemalloc/configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/jemalloc/configure.ac b/jemalloc/configure.ac index 4582c71f..ce6e6799 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