summaryrefslogtreecommitdiffstats
path: root/llvm/Makefile.rules
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-06-19 12:40:30 +0000
committerDuncan Sands <baldrick@free.fr>2009-06-19 12:40:30 +0000
commite532b557c43a57cf0172e001eef7fe3a2c86ba99 (patch)
tree095e50c9235ae3468883ee8857c53ff5aed61b2a /llvm/Makefile.rules
parente55f6ff3de625184eea567394f357968c4d2890d (diff)
downloadbcm5719-llvm-e532b557c43a57cf0172e001eef7fe3a2c86ba99.tar.gz
bcm5719-llvm-e532b557c43a57cf0172e001eef7fe3a2c86ba99.zip
Since -Wno-long-long is ignored without -pedantic,
place it with -pedantic. Remove -Wunused since it is implied by -Wall. Group -Wno-unused-parameter with -Wall -W since it is the combination of these two that turns on -Wunused-parameter. llvm-svn: 73765
Diffstat (limited to 'llvm/Makefile.rules')
-rw-r--r--llvm/Makefile.rules6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index 94d8e98c16b..9325ca4b5d1 100644
--- a/llvm/Makefile.rules
+++ b/llvm/Makefile.rules
@@ -519,10 +519,10 @@ endif
#----------------------------------------------------------
ifndef NO_PEDANTIC
-CompileCommonOpts += -pedantic
+CompileCommonOpts += -pedantic -Wno-long-long
endif
-CompileCommonOpts += -Wall -W -Wwrite-strings -Wno-long-long \
- -Wunused -Wno-unused-parameter $(EXTRA_OPTIONS)
+CompileCommonOpts += -Wall -W -Wno-unused-parameter -Wwrite-strings \
+ $(EXTRA_OPTIONS)
ifeq ($(OS),HP-UX)
CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE
OpenPOWER on IntegriCloud