about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSébastien Marie <semarie@users.noreply.github.com>2015-09-10 18:50:01 +0200
committerSébastien Marie <semarie@users.noreply.github.com>2015-09-10 18:52:19 +0200
commit9ac36f46650d0f4d92b5111688d2fb84a50d591f (patch)
tree96c3f8191685a840c0599f165a0ada3fa64830d3
parent90043cbbf0bd30557099543e9aaa0e299958df55 (diff)
downloadrust-9ac36f46650d0f4d92b5111688d2fb84a50d591f.tar.gz
rust-9ac36f46650d0f4d92b5111688d2fb84a50d591f.zip
disable jemalloc on OpenBSD
depending of the compiler used, jemalloc configure don't detect
correctly some parameters.
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 46b5b4c100a..fa940759d66 100755
--- a/configure
+++ b/configure
@@ -901,7 +901,10 @@ then
             CC="${CC:-egcc}"
             CXX="${CXX:-eg++}"
         fi
-    fi    
+    fi
+
+    step_msg "on OpenBSD, disabling jemalloc"
+    CFG_DISABLE_JEMALLOC=1
 fi
 
 # OS X 10.9, gcc is actually clang. This can cause some confusion in the build