Issue the warning about being slow whenever optimization is disabled,

and not just for Debug+Asserts builds.

llvm-svn: 107792
This commit is contained in:
Duncan Sands 2010-07-07 16:48:16 +00:00
parent b2d5b47efb
commit bf3a1f45c3

View File

@ -181,7 +181,7 @@ $(FilesToConfigPATH) : $(LLVM_OBJ_ROOT)/% : $(LLVM_SRC_ROOT)/%.in
ifneq ($(BUILD_DIRS_ONLY),1)
all::
$(Echo) '*****' Completed $(BuildMode) Build
ifeq ($(BuildMode),Debug+Asserts)
ifneq ($(ENABLE_OPTIMIZED),1)
$(Echo) '*****' Note: Debug build can be 10 times slower than an
$(Echo) '*****' optimized build. Use 'make ENABLE_OPTIMIZED=1' to
$(Echo) '*****' make an optimized build. Alternatively you can