[llvm-commits] [llvm-gcc-4.0] r40407 - /llvm-gcc-4.0/trunk/build-for-llvm-top.sh

Reid Spencer rspencer at reidspencer.com
Sun Jul 22 14:56:09 PDT 2007


Author: reid
Date: Sun Jul 22 16:56:09 2007
New Revision: 40407

URL: http://llvm.org/viewvc/llvm-project?rev=40407&view=rev
Log:
Check the right variable name for optimized vs debug configuration.

Modified:
    llvm-gcc-4.0/trunk/build-for-llvm-top.sh

Modified: llvm-gcc-4.0/trunk/build-for-llvm-top.sh
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/build-for-llvm-top.sh?rev=40407&r1=40406&r2=40407&view=diff

==============================================================================
--- llvm-gcc-4.0/trunk/build-for-llvm-top.sh (original)
+++ llvm-gcc-4.0/trunk/build-for-llvm-top.sh Sun Jul 22 16:56:09 2007
@@ -27,7 +27,7 @@
   config_options="--prefix=$PREFIX --enable-llvm=$LLVM_TOP/llvm "
   config_options="$config_options --program-prefix=llvm-"
   config_options="$config_options --enable-languages=c,c++"
-  if test -n "$ENABLE_OPTIMIZED" ; then
+  if test "$OPTIMIZED" -eq 0 ; then
     config_options="$config_options --enable-checking --enable-libstdcxx-debug"
   fi
   host=`./config.guess`





More information about the llvm-commits mailing list