Enable -Sew by default, set ALLOW_WARNINGS to 1 to disable

git-svn-id: trunk@19585 -
This commit is contained in:
pierre 2011-11-03 10:27:58 +00:00
parent b6de7f0d6b
commit 362a3c8beb
2 changed files with 9 additions and 0 deletions

View File

@ -3290,6 +3290,9 @@ ifdef CMP
override DIFF:=$(CMP) -i218
endif
endif
ifndef ALLOW_WARNINGS
override LOCALOPT+=-Sew
endif
override COMPILER+=$(LOCALOPT)
PASDOC:=$(strip $(wildcard $(addsuffix /pasdoc.exe,$(SEARCHPATH))))
ifeq ($(PASDOC),)

View File

@ -268,6 +268,12 @@ override DIFF:=$(CMP) -i218
endif
endif
# Use -Sew option by default
# Allow disabling by setting ALLOW_WARINGS=1
ifndef ALLOW_WARNINGS
override LOCALOPT+=-Sew
endif
# Add Local options
override COMPILER+=$(LOCALOPT)