mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-09 22:06:08 +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
|
override DIFF:=$(CMP) -i218
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifndef ALLOW_WARNINGS
|
||||||
|
override LOCALOPT+=-Sew
|
||||||
|
endif
|
||||||
override COMPILER+=$(LOCALOPT)
|
override COMPILER+=$(LOCALOPT)
|
||||||
PASDOC:=$(strip $(wildcard $(addsuffix /pasdoc.exe,$(SEARCHPATH))))
|
PASDOC:=$(strip $(wildcard $(addsuffix /pasdoc.exe,$(SEARCHPATH))))
|
||||||
ifeq ($(PASDOC),)
|
ifeq ($(PASDOC),)
|
||||||
|
@ -268,6 +268,12 @@ override DIFF:=$(CMP) -i218
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Use -Sew option by default
|
||||||
|
# Allow disabling by setting ALLOW_WARINGS=1
|
||||||
|
ifndef ALLOW_WARNINGS
|
||||||
|
override LOCALOPT+=-Sew
|
||||||
|
endif
|
||||||
|
|
||||||
# Add Local options
|
# Add Local options
|
||||||
override COMPILER+=$(LOCALOPT)
|
override COMPILER+=$(LOCALOPT)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user