mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 00:30:35 +02:00
* add -dREVINC even when REVSTR is already set, needed for cycle
git-svn-id: trunk@14077 -
This commit is contained in:
parent
b6d0a93599
commit
2295a9f23b
@ -353,12 +353,13 @@ ifeq ($(REVSTR),)
|
||||
ifneq ($(SVNVERSION),)
|
||||
REVSTR:=$(shell $(SVNVERSION) -c .)
|
||||
export REVSTR
|
||||
override LOCALOPT+=-dREVINC
|
||||
endif
|
||||
endif
|
||||
REVINC:=$(wildcard revision.inc)
|
||||
ifneq ($(REVINC),)
|
||||
ifeq ($(REVSTR),)
|
||||
override LOCALOPT+=-dREVINC
|
||||
else
|
||||
ifneq ($(REVSTR),)
|
||||
override LOCALOPT+=-dREVINC
|
||||
endif
|
||||
endif
|
||||
|
@ -158,13 +158,14 @@ ifeq ($(REVSTR),)
|
||||
ifneq ($(SVNVERSION),)
|
||||
REVSTR:=$(shell $(SVNVERSION) -c .)
|
||||
export REVSTR
|
||||
override LOCALOPT+=-dREVINC
|
||||
endif
|
||||
endif
|
||||
|
||||
REVINC:=$(wildcard revision.inc)
|
||||
ifneq ($(REVINC),)
|
||||
ifeq ($(REVSTR),)
|
||||
override LOCALOPT+=-dREVINC
|
||||
else
|
||||
ifneq ($(REVSTR),)
|
||||
override LOCALOPT+=-dREVINC
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user