mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-22 15:19:42 +01:00
haiku: Makefile.fpc update for x86_64 support
git-svn-id: trunk@40759 -
This commit is contained in:
parent
5182dc37af
commit
d19cb0ee4c
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user