mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 13:09:32 +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)
|
||||
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