[llvm-commits] [llvm-gcc-4.2] r55229 - in /llvm-gcc-4.2/trunk/gcc: configure configure.ac
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Fri Aug 22 22:58:21 PDT 2008
Author: alenhar2
Date: Sat Aug 23 00:58:16 2008
New Revision: 55229
URL: http://llvm.org/viewvc/llvm-project?rev=55229&view=rev
Log:
--enable-checking is suppose to use the debug build
Modified:
llvm-gcc-4.2/trunk/gcc/configure
llvm-gcc-4.2/trunk/gcc/configure.ac
Modified: llvm-gcc-4.2/trunk/gcc/configure
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/configure?rev=55229&r1=55228&r2=55229&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/configure (original)
+++ llvm-gcc-4.2/trunk/gcc/configure Sat Aug 23 00:58:16 2008
@@ -7369,7 +7369,9 @@
esac
LLVMBUILDMODE=""
- if test -x "$LLVMBASEPATH/Release/bin/llc$EXEEXT"; then
+ if test x$checkingenabled_flag != x; then
+ LLVMBUILDMODE="Debug"
+ elif test -x "$LLVMBASEPATH/Release/bin/llc$EXEEXT"; then
LLVMBUILDMODE="Release"
elif test -x "$LLVMBASEPATH/Debug/bin/llc$EXEEXT"; then
LLVMBUILDMODE="Debug"
Modified: llvm-gcc-4.2/trunk/gcc/configure.ac
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/configure.ac?rev=55229&r1=55228&r2=55229&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/configure.ac (original)
+++ llvm-gcc-4.2/trunk/gcc/configure.ac Sat Aug 23 00:58:16 2008
@@ -854,7 +854,9 @@
esac
LLVMBUILDMODE=""
- if test -x "$LLVMBASEPATH/Release/bin/llc$EXEEXT"; then
+ if test "x$checkingenabled_flag" != x; then
+ LLVMBUILDMODE="Debug"
+ elif test -x "$LLVMBASEPATH/Release/bin/llc$EXEEXT"; then
LLVMBUILDMODE="Release"
elif test -x "$LLVMBASEPATH/Debug/bin/llc$EXEEXT"; then
LLVMBUILDMODE="Debug"
More information about the llvm-commits
mailing list