mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 23:01:55 +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
|
override DIFF:=$(CMP) -i218
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring 2.4.,$(FPC_VERSION)),)
|
ifneq ($(CYCLELEVEL),1)
|
||||||
ifndef ALLOW_WARNINGS
|
ifndef ALLOW_WARNINGS
|
||||||
override LOCALOPT+=-Sew
|
override LOCALOPT+=-Sew
|
||||||
endif
|
endif
|
||||||
|
@ -417,7 +417,7 @@ endif
|
|||||||
|
|
||||||
# Use -Sew option by default
|
# Use -Sew option by default
|
||||||
# Allow disabling by setting ALLOW_WARNINGS=1
|
# Allow disabling by setting ALLOW_WARNINGS=1
|
||||||
ifeq ($(findstring 2.4.,$(FPC_VERSION)),)
|
ifneq ($(CYCLELEVEL),1)
|
||||||
ifndef ALLOW_WARNINGS
|
ifndef ALLOW_WARNINGS
|
||||||
override LOCALOPT+=-Sew
|
override LOCALOPT+=-Sew
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user