From 2d03b881cf767facbb3a291b03fcaa00a3367533 Mon Sep 17 00:00:00 2001 From: Wan-Teh Chang Date: Mon, 21 Mar 2016 19:42:54 -0700 Subject: Bug 1258589: Support building C++ tests for 32-bit x86 Mac OS X. r=ekr --- coreconf/Darwin.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coreconf/Darwin.mk b/coreconf/Darwin.mk index 85b05cece..8b2bd17f7 100644 --- a/coreconf/Darwin.mk +++ b/coreconf/Darwin.mk @@ -21,10 +21,12 @@ endif ifeq (,$(filter-out i%86,$(CPU_ARCH))) ifdef USE_64 CC += -arch x86_64 +CCC += -arch x86_64 override CPU_ARCH = x86_64 else OS_REL_CFLAGS = -Di386 CC += -arch i386 +CCC += -arch i386 override CPU_ARCH = x86 endif else @@ -33,6 +35,7 @@ ifeq (arm,$(CPU_ARCH)) else OS_REL_CFLAGS = -Dppc CC += -arch ppc +CCC += -arch ppc endif endif -- cgit v1.2.1