summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-05-14 21:52:01 +0000
committerEric Christopher <echristo@gmail.com>2013-05-14 21:52:01 +0000
commite83a6f32a408d16f1fa07c658236eb226ea332fb (patch)
tree34fdc1a469bc984615fee66b5cbb71a351f84e45 /Makefile.rules
parentf8f7086b1b26ec160f682063129ed16d76203574 (diff)
Revert previous patch, it's actually on under Wall.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 396262aad2e..f0c542b7f82 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -674,8 +674,7 @@ CompileCommonOpts += -Wall -W -Wno-unused-parameter -Wwrite-strings \
$(NO_UNINITIALIZED) $(NO_MAYBE_UNINITIALIZED) \
$(NO_MISSING_FIELD_INITIALIZERS)
# Enable cast-qual for C++; the workaround is to use const_cast.
-# Also enable -Wreorder.
-CXX.Flags += -Wcast-qual -Wreorder
+CXX.Flags += -Wcast-qual
ifeq ($(HOST_OS),HP-UX)
CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE