mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 19:28:13 +02:00
Add dependency on objpas unit for syscall unit compiled with -dFPC_USE_LIBC
This commit is contained in:
parent
7c9cf75418
commit
37ffd4051a
@ -907,6 +907,9 @@ else
|
||||
SYSCALL_DEPS_OS=$(ARCH)/syscallh.inc $(ARCH)/sysnr.inc
|
||||
endif
|
||||
endif
|
||||
ifneq ($(filter -dFPC_USE_LIBC,$(FPCOPT)),)
|
||||
SYSCALL_DEPS_OS+=$(OBJPASUNITUNIT)$(PPUEXT)
|
||||
endif
|
||||
SYSUTILSDIR=$(UNIXINC)
|
||||
SYSUTILS_DEPS_OS=$(SYSUTILS_UNIX_DEPS) $(LINUXUNIT)$(PPUEXT)
|
||||
UNIX_DEPS_OS=$(SYSCALLUNIT)$(PPUEXT)
|
||||
|
@ -76,6 +76,13 @@ else
|
||||
SYSCALL_DEPS_OS=$(ARCH)/syscallh.inc $(ARCH)/sysnr.inc
|
||||
endif
|
||||
endif
|
||||
# syscall unit compiled with -dFPC_USE_LIBC
|
||||
# required mode objfpc which adds a dependency to
|
||||
# objpas unit
|
||||
ifneq ($(filter -dFPC_USE_LIBC,$(FPCOPT)),)
|
||||
SYSCALL_DEPS_OS+=$(OBJPASUNITUNIT)$(PPUEXT)
|
||||
endif
|
||||
|
||||
SYSUTILSDIR=$(UNIXINC)
|
||||
SYSUTILS_DEPS_OS=$(SYSUTILS_UNIX_DEPS) $(LINUXUNIT)$(PPUEXT)
|
||||
UNIX_DEPS_OS=$(SYSCALLUNIT)$(PPUEXT)
|
||||
|
Loading…
Reference in New Issue
Block a user