mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-08 06:46:00 +02:00
Default to add -dFPC_USE_LIBC for OpenBSD OS (can be disabled by setting FPC_USE_SYSCALL=1)
git-svn-id: trunk@47228 -
This commit is contained in:
parent
8a543dbc8a
commit
b25d9014df
@ -364,6 +364,9 @@ PRT0=prt0
|
|||||||
ifdef RELEASE
|
ifdef RELEASE
|
||||||
override FPCOPT+=-Ur
|
override FPCOPT+=-Ur
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(FPC_USE_SYSCALL),)
|
||||||
|
override FPCOPT+=-dFPC_USE_LIBC
|
||||||
|
endif
|
||||||
CPU_UNITS=
|
CPU_UNITS=
|
||||||
SYSINIT_UNITS=si_prc si_c si_dll si_g
|
SYSINIT_UNITS=si_prc si_c si_dll si_g
|
||||||
LOADERS=prt0
|
LOADERS=prt0
|
||||||
|
@ -76,6 +76,11 @@ ifdef RELEASE
|
|||||||
override FPCOPT+=-Ur
|
override FPCOPT+=-Ur
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# OpenBSD defaults to libc, no syscalls
|
||||||
|
ifeq ($(FPC_USE_SYSCALL),)
|
||||||
|
override FPCOPT+=-dFPC_USE_LIBC
|
||||||
|
endif
|
||||||
|
|
||||||
CPU_UNITS=
|
CPU_UNITS=
|
||||||
SYSINIT_UNITS=si_prc si_c si_dll si_g
|
SYSINIT_UNITS=si_prc si_c si_dll si_g
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user