mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-02 00:49:21 +02:00
Enable -Sew by default, set ALLOW_WARNINGS to 1 to disable
git-svn-id: trunk@19585 -
This commit is contained in:
parent
b6de7f0d6b
commit
362a3c8beb
@ -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),)
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user