[llvm-commits] [llvm-gcc-4.2] r109520 - /llvm-gcc-4.2/trunk/build_gcc
Bob Wilson
bob.wilson at apple.com
Tue Jul 27 11:03:46 PDT 2010
Author: bwilson
Date: Tue Jul 27 13:03:46 2010
New Revision: 109520
URL: http://llvm.org/viewvc/llvm-project?rev=109520&view=rev
Log:
Control llvm-gcc's --enable-checking/--disable-checking options with
ENABLE_ASSERTIONS instead of LLVM_DEBUG. Configure with --enable-werror
regardless.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trunk/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/build_gcc?rev=109520&r1=109519&r2=109520&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Tue Jul 27 13:03:46 2010
@@ -188,13 +188,14 @@
# These are the configure and build flags that are used.
# LLVM LOCAL begin
-if [ "x$LLVM_DEBUG" == "x" ]; then
- CHECKING_FLAGS="--disable-checking --enable-werror"
+if [ "x$LLVM_ASSERTIONS" == "x" ]; then
+ CHECKING_FLAGS="--disable-checking"
else
CHECKING_FLAGS="--enable-checking"
fi
CONFIGFLAGS="$CHECKING_FLAGS \
+ --enable-werror \
--prefix=$DEST_ROOT \
--mandir=\${prefix}/share/man \
--enable-languages=$LANGUAGES \
More information about the llvm-commits
mailing list