summaryrefslogtreecommitdiff
path: root/Makefile
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
commit2b48c33936d5cbfcb8b48331963c71e99d88c8ae (patch)
treed6c0905ecdbe55595fac40547e302291d65225dd /Makefile
parenteabaed26c3921453d824b71a93557c32132f4fdd (diff)
downloadllvm-2b48c33936d5cbfcb8b48331963c71e99d88c8ae.tar.gz
llvm-2b48c33936d5cbfcb8b48331963c71e99d88c8ae.tar.bz2
llvm-2b48c33936d5cbfcb8b48331963c71e99d88c8ae.tar.xz
Issue the warning about being slow whenever optimization is disabled,
and not just for Debug+Asserts builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 057fb2a141..d42f887b6b 100644
--- a/Makefile
+++ b/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