Do not use -Sew (turn warnings into errors) if CYCLELEVEL is equal to 1

git-svn-id: trunk@42582 -
This commit is contained in:
pierre 2019-08-05 09:02:16 +00:00
parent 5a3883b1ab
commit 7b0d2febd7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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