mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 11:49:24 +02:00
Examinc OPT and CROSSOPT instead of FPCOPT in [prerules] to check if syscall unit needs objpas dependency
This commit is contained in:
parent
82ac429954
commit
3edd92dab1
@ -907,8 +907,8 @@ else
|
|||||||
SYSCALL_DEPS_OS=$(ARCH)/syscallh.inc $(ARCH)/sysnr.inc
|
SYSCALL_DEPS_OS=$(ARCH)/syscallh.inc $(ARCH)/sysnr.inc
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifneq ($(filter -dFPC_USE_LIBC,$(FPCOPT)),)
|
ifneq ($(filter -dFPC_USE_LIBC,$(OPT) $(CROSSOPT)),)
|
||||||
SYSCALL_DEPS_OS+=$(OBJPASUNITUNIT)$(PPUEXT)
|
SYSCALL_DEPS_OS+=$(OBJPASUNIT)$(PPUEXT)
|
||||||
endif
|
endif
|
||||||
SYSUTILSDIR=$(UNIXINC)
|
SYSUTILSDIR=$(UNIXINC)
|
||||||
SYSUTILS_DEPS_OS=$(SYSUTILS_UNIX_DEPS) $(LINUXUNIT)$(PPUEXT)
|
SYSUTILS_DEPS_OS=$(SYSUTILS_UNIX_DEPS) $(LINUXUNIT)$(PPUEXT)
|
||||||
|
@ -79,8 +79,8 @@ endif
|
|||||||
# syscall unit compiled with -dFPC_USE_LIBC
|
# syscall unit compiled with -dFPC_USE_LIBC
|
||||||
# required mode objfpc which adds a dependency to
|
# required mode objfpc which adds a dependency to
|
||||||
# objpas unit
|
# objpas unit
|
||||||
ifneq ($(filter -dFPC_USE_LIBC,$(FPCOPT)),)
|
ifneq ($(filter -dFPC_USE_LIBC,$(OPT) $(CROSSOPT)),)
|
||||||
SYSCALL_DEPS_OS+=$(OBJPASUNITUNIT)$(PPUEXT)
|
SYSCALL_DEPS_OS+=$(OBJPASUNIT)$(PPUEXT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SYSUTILSDIR=$(UNIXINC)
|
SYSUTILSDIR=$(UNIXINC)
|
||||||
|
Loading…
Reference in New Issue
Block a user