about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2011-11-11 11:21:26 -0800
committerNiko Matsakis <niko@alum.mit.edu>2011-11-16 15:16:41 -0800
commit895822a61cef0fcf1e9207eb0993cf8be27133c4 (patch)
treeb4d10477adf8766856be31b613135478d8e1fb18
parentcda2e07c37d511dfa49167ebecb7278d0f64cbac (diff)
downloadrust-895822a61cef0fcf1e9207eb0993cf8be27133c4.tar.gz
rust-895822a61cef0fcf1e9207eb0993cf8be27133c4.zip
more consistent naming convention
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 584574c241a..064901f292d 100755
--- a/configure
+++ b/configure
@@ -252,9 +252,9 @@ opt valgrind 1 "run tests with valgrind"
 opt docs     1 "build documentation"
 opt optimize 1 "build optimized rust code"
 opt optimize-cxx 1 "build optimized C++ code"
+opt optimize-llvm 1 "build optimized LLVM"
 opt mingw-cross 0 "cross-compile for win32 using mingw"
 opt clang 0 "prefer gcc to clang for building the runtime"
-opt debug-llvm 0 "build LLVM in debug mode"
 valopt prefix "/usr/local" "set installation prefix"
 valopt llvm-root "" "set LLVM root"
 valopt target-triples "" "LLVM target triples (defaults to host if unset)"
@@ -440,7 +440,8 @@ do
 	LLVM_BUILD="--build=$t"
 	LLVM_HOST="--host=$t"
 	LLVM_TARGET="--target=$t"
-    if [ ! -z "$CFG_ENABLE_DEBUG_LLVM" ]
+
+    if [ ! -z "$CFG_DISABLE_OPTIMIZE_LLVM" ]
     then
         LLVM_DBG_OPTS=""
         # Just use LLVM straight from its build directory to