33 lines
803 B
Plaintext
33 lines
803 B
Plaintext
# CONFIG.Common.linux-x86-borland
|
|
#
|
|
# $Id$
|
|
# This file is maintained by the build community.
|
|
#
|
|
# Definitions for linux-x86 target builds
|
|
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86-borland
|
|
#-------------------------------------------------------
|
|
|
|
# Include definitions common to all Unix targets
|
|
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
|
|
|
OS_CLASS = Linux
|
|
ARCH_CLASS = x86
|
|
|
|
POSIX_CPPFLAGS_NO =
|
|
POSIX_LDLIBS_YES = libpthread.so
|
|
|
|
OP_SYS_CPPFLAGS += -D_BSD_SOURCE -D_SVID_SOURCE
|
|
OP_SYS_CPPFLAGS += -Dlinux
|
|
OP_SYS_LDLIBS = libc.so libm.so libdl.so librt.so
|
|
|
|
ARCH_DEP_CPPFLAGS += -D_X86_
|
|
|
|
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
|
|
|
|
ifeq ($(BUILD_CLASS),CROSS)
|
|
GNU_TARGET=i586-pc-linux-gnu
|
|
CMPLR_SUFFIX=
|
|
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
|
endif
|
|
|