diff --git a/Makefile b/Makefile index 2f1c7472ca..eb312b6fc2 100644 --- a/Makefile +++ b/Makefile @@ -2765,14 +2765,14 @@ BUILDSTAMP=build-stamp.$(FULL_TARGET) .PHONY: all clean distclean build buildbase install installbase .PHONY: installother zipinstallbase zipinstallotherzipinstall .PHONY: singlezipinstall versioncheckstartingcompiler -versioncheckstartingcompiler: +versioncheckstartingcompiler: ifndef CROSSCOMPILE ifneq ($(FPC_VERSION),$(REQUIREDVERSION)) ifneq ($(FPC_VERSION),$(REQUIREDVERSION2)) ifndef OVERRIDEVERSIONCHECK - $(error The only supported starting compiler version is $(REQUIREDVERSION). You are trying to build with $(FPC_VERSION). + $(error The only supported starting compiler version is $(REQUIREDVERSION). You are trying to build with $(FPC_VERSION).) else - @$(ECHO) You have overriden the starting compiler versioncheck while using starting compiler version $(FPC_VERSION). This situation is not supported and strange things and errors may happen. Remove OVERRIDEVERSIONCHECK=1 to fix this. + @$(ECHO) You have overriden the starting compiler versioncheck while using starting compiler version $(FPC_VERSION). This situation is not supported and strange things and errors may happen. Remove OVERRIDEVERSIONCHECK=1 to fix this. endif endif endif diff --git a/Makefile.fpc b/Makefile.fpc index 93f28cb9d5..678df6a395 100644 --- a/Makefile.fpc +++ b/Makefile.fpc @@ -263,14 +263,14 @@ BUILDSTAMP=build-stamp.$(FULL_TARGET) .PHONY: installother zipinstallbase zipinstallotherzipinstall .PHONY: singlezipinstall versioncheckstartingcompiler -versioncheckstartingcompiler: +versioncheckstartingcompiler: ifndef CROSSCOMPILE ifneq ($(FPC_VERSION),$(REQUIREDVERSION)) ifneq ($(FPC_VERSION),$(REQUIREDVERSION2)) ifndef OVERRIDEVERSIONCHECK - $(error The only supported starting compiler version is $(REQUIREDVERSION). You are trying to build with $(FPC_VERSION). + $(error The only supported starting compiler version is $(REQUIREDVERSION). You are trying to build with $(FPC_VERSION).) else - @$(ECHO) You have overriden the starting compiler versioncheck while using starting compiler version $(FPC_VERSION). This situation is not supported and strange things and errors may happen. Remove OVERRIDEVERSIONCHECK=1 to fix this. + @$(ECHO) You have overriden the starting compiler versioncheck while using starting compiler version $(FPC_VERSION). This situation is not supported and strange things and errors may happen. Remove OVERRIDEVERSIONCHECK=1 to fix this. endif endif endif