summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-07-07 16:48:16 +0000
committerDuncan Sands <baldrick@free.fr>2010-07-07 16:48:16 +0000
commit24556940ee52b412721edbaef8f9050b6575d80f (patch)
tree441bb96c6963cfc3401b5594a517bab07270e037
parentffe64b1ee5a234b9599e2ad8525249a70a96e04c (diff)
downloadbcm5719-llvm-24556940ee52b412721edbaef8f9050b6575d80f.tar.gz
bcm5719-llvm-24556940ee52b412721edbaef8f9050b6575d80f.zip
Issue the warning about being slow whenever optimization is disabled,
and not just for Debug+Asserts builds. llvm-svn: 107792
-rw-r--r--llvm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/Makefile b/llvm/Makefile
index 057fb2a1411..d42f887b6b1 100644
--- a/llvm/Makefile
+++ b/llvm/Makefile
@@ -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
OpenPOWER on IntegriCloud