summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index bcaed80f2d..41694bd1ff 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -515,7 +515,10 @@ endif
# Options To Invoke Tools
#----------------------------------------------------------
-CompileCommonOpts += -pedantic -Wall -W -Wwrite-strings -Wno-long-long \
+ifndef NO_PEDANTIC
+CompileCommonOpts += -pedantic
+endif
+CompileCommonOpts += -Wall -W -Wwrite-strings -Wno-long-long \
-Wunused -Wno-unused-parameter $(EXTRA_OPTIONS)
ifeq ($(OS),HP-UX)