mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 17:48:01 +02:00
Regenerate Compiler Makefile
This commit is contained in:
parent
277a3a1b4c
commit
8403c629fc
@ -452,6 +452,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
|
||||
override OPT=
|
||||
MSGFILES=$(wildcard msg/error*.msg)
|
||||
@ -3293,6 +3299,19 @@ override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR)
|
||||
override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)
|
||||
endif
|
||||
endif
|
||||
ifdef SYSROOTPATH
|
||||
override FPCOPT+=-XR$(SYSROOTPATH)
|
||||
else
|
||||
ifeq ($(OS_TARGET),$(OS_SOURCE))
|
||||
ifneq ($(findstring $(OS_TARGET),darwin),)
|
||||
ifneq ($(findstring $(CPU_TARGET),aarch64),)
|
||||
ifneq ($(wildcard /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk),)
|
||||
override FPCOPT+=-XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifdef CREATESHARED
|
||||
override FPCOPT+=-Cg
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user