Add detection for Darwin/x86.

Bug #213541 r=bryner a=asa
This commit is contained in:
cls%seawood.org 2003-08-15 04:00:23 +00:00
parent ca9de7e2fa
commit 6c8b228223

View File

@ -45,7 +45,7 @@ include $(topsrcdir)/config/config.mk
#
# Lots of Unixish x86 flavors
#
ifneq (,$(filter FreeBSD NetBSD OpenBSD BSD_OS,$(OS_ARCH)))
ifneq (,$(filter FreeBSD NetBSD OpenBSD BSD_OS Darwin,$(OS_ARCH)))
ifeq (86,$(findstring 86,$(OS_TEST)))
CPPSRCS := xptcinvoke_unixish_x86.cpp xptcstubs_unixish_x86.cpp
endif
@ -253,6 +253,7 @@ endif
# Darwin/PPC
#
ifeq ($(OS_ARCH),Darwin)
ifeq ($(TARGET_CPU), powerpc)
ASFLAGS += -x assembler-with-cpp # assumes $(AS) == $(CC)
ifdef HAVE_GCC3_ABI
ASFLAGS += -DHAVE_GCC3_ABI
@ -260,6 +261,7 @@ endif
CPPSRCS := xptcinvoke_ppc_rhapsody.cpp xptcstubs_ppc_rhapsody.cpp
ASFILES := xptcinvoke_asm_ppc_rhapsody.s xptcstubs_asm_ppc_darwin.s
endif
endif
######################################################################
# SPARC