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