mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 00:50:17 +02:00
Update compiler/utils Makefile using latest fixes fpcmake utility
This commit is contained in:
parent
8403c629fc
commit
25acaac104
@ -2474,6 +2474,19 @@ override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR)
|
|||||||
override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)
|
override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)
|
||||||
endif
|
endif
|
||||||
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
|
ifdef CREATESHARED
|
||||||
override FPCOPT+=-Cg
|
override FPCOPT+=-Cg
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user