haiku: Makefile.fpc update for x86_64 support

git-svn-id: trunk@40759 -
This commit is contained in:
Károly Balogh 2019-01-04 03:34:20 +00:00
parent 5182dc37af
commit d19cb0ee4c

View File

@ -6,13 +6,13 @@
main=rtl
[target]
loaders=prt0 cprt0 dllcprt0 func dllprt
units=system uuchar baseunix unixtype ctypes objpas macpas iso7185 extpas strings \
loaders=$(LOADERS)
units=system $(SYSINITUNITS) uuchar baseunix unixtype ctypes objpas macpas iso7185 extpas strings \
# beos \
errors dos dl \
sysconst sysutils \
types charset cpall character typinfo classes fgl math \
cpu mmx getopts heaptrc lineinfo lnfodwrf \
cpu $(CPUUNITS) getopts heaptrc lineinfo lnfodwrf \
rtlconsts syscall unix unixutil termio initc \
cmem \
dynlibs cwstring cthreads \
@ -59,17 +59,24 @@ INC=$(RTL)/inc
PROCINC=$(RTL)/$(CPU_TARGET)
UNIXINC=$(RTL)/unix
HAIKUINC=$(RTL)/haiku
LOADERS=prt0 cprt0 dllcprt0 func dllprt
CPUUNITS=mmx
SYSINITUNITS=si_c si_dllc
UNITPREFIX=rtl
ifeq ($(ARCH),x86_64)
override LOADERS=
override CPUUNITS=
endif
# Use new feature from 1.0.5 version
# that generates release PPU files
# which will not be recompiled
ifdef RELEASE
override FPCOPT+=-Ur
endif
override FPCOPT+= -dHASUNIX -n -dFPC_USE_LIBC -Si
override FPCOPT+=-dFPC_USE_LIBC
# Paths
OBJPASDIR=$(RTL)/objpas