[llvm-branch-commits] [cfe-branch] r99056 - /cfe/branches/Apple/lemur-IB/Makefile
Daniel Dunbar
daniel at zuster.org
Sat Mar 20 01:55:21 PDT 2010
Author: ddunbar
Date: Sat Mar 20 03:55:20 2010
New Revision: 99056
URL: http://llvm.org/viewvc/llvm-project?rev=99056&view=rev
Log:
Switch back to optimized builds, the issues with release builds have been solved.
Modified:
cfe/branches/Apple/lemur-IB/Makefile
Modified: cfe/branches/Apple/lemur-IB/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/lemur-IB/Makefile?rev=99056&r1=99055&r2=99056&view=diff
==============================================================================
--- cfe/branches/Apple/lemur-IB/Makefile (original)
+++ cfe/branches/Apple/lemur-IB/Makefile Sat Mar 20 03:55:20 2010
@@ -30,10 +30,7 @@
BINDEST := $(DSTROOT)\AppleInternal\bin
# Override default CMake flags to use static C run-time library.
-#
-# FIXME: Currently clang is miscompiled with the default release settings. For
-# now, force optimization off. :(
-CXXFLAGS := /MT /Od /Ob0 /D NDEBUG
+MSVC_CRT := MT
# Override CMake default libraries list, which is much larger than we need.
CXXLIBS := kernel32.lib user32.lib advapi32.lib
@@ -62,7 +59,7 @@
cd "$(OBJROOT)" && \
"$(CMAKE)" "-DCMAKE_INSTALL_PREFIX:=$(STAGEROOT)" \
-DLLVM_TARGETS_TO_BUILD:=X86 \
- "-DCMAKE_CXX_FLAGS_RELEASE:STRING=$(CXXFLAGS)" \
+ "-DLLVM_USE_CRT:=$(MSVC_CRT)" \
"-DCMAKE_CXX_STANDARD_LIBRARIES:STRING=$(CXXLIBS)" \
-G "Visual Studio 9 2008" \
"$(SRCROOT)\src"
@@ -83,6 +80,7 @@
svn rm -m 'Update.' $(SVN_CLANG)/src
svn cp -m 'Update.' $(SVN_BASE)/llvm/trunk $(SVN_CLANG)/src
svn cp -m 'Update.' $(SVN_BASE)/cfe/trunk $(SVN_CLANG)/src/tools/clang
+ svn up
###
# Debugging
More information about the llvm-branch-commits
mailing list