mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 17:49:07 +02:00
Generalize -DD option outside cycle
Add -DD option to LOCALOPT
if FPC_VERSION is equal to PACKAGE_VERSION
This is to avoid get different dates for
native compiler generated using 'make cycle'
versus cross-compilers.
(cherry picked from commit c335591b70
)
This commit is contained in:
parent
655352f0e9
commit
277a3a1b4c
@ -184,6 +184,12 @@ override RTLOPT+=$(RTLOPTLEVEL4)
|
||||
override LOCALOPT+=$(OPTNEW)
|
||||
override RTLOPT+=$(OPTNEW)
|
||||
endif
|
||||
else
|
||||
ifdef COMPDATESTR
|
||||
ifeq ($(FPC_VERSION),$(PACKAGE_VERSION))
|
||||
override LOCALOPT+=-DD$(COMPDATESTR)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# Make OPT empty. It is copied to LOCALOPT and RTLOPT
|
||||
|
Loading…
Reference in New Issue
Block a user