mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 16:09:31 +02:00
Do not use -Sew (turn warnings into errors) if CYCLELEVEL is equal to 1
git-svn-id: trunk@42582 -
This commit is contained in:
parent
5a3883b1ab
commit
7b0d2febd7
@ -4223,7 +4223,7 @@ ifdef CMP
|
||||
override DIFF:=$(CMP) -i218
|
||||
endif
|
||||
endif
|
||||
ifeq ($(findstring 2.4.,$(FPC_VERSION)),)
|
||||
ifneq ($(CYCLELEVEL),1)
|
||||
ifndef ALLOW_WARNINGS
|
||||
override LOCALOPT+=-Sew
|
||||
endif
|
||||
|
@ -417,7 +417,7 @@ endif
|
||||
|
||||
# Use -Sew option by default
|
||||
# Allow disabling by setting ALLOW_WARNINGS=1
|
||||
ifeq ($(findstring 2.4.,$(FPC_VERSION)),)
|
||||
ifneq ($(CYCLELEVEL),1)
|
||||
ifndef ALLOW_WARNINGS
|
||||
override LOCALOPT+=-Sew
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user