summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2011-04-06 19:16:01 +0000
committerwtc%google.com <devnull@localhost>2011-04-06 19:16:01 +0000
commit1a2e7afed3c6041e30d08e56d426c3b32f20965e (patch)
tree4be9b51f9b44b07135ab88129d0d9e7584aefa78
parentcf7f9adeded2c70065d82e81fe1e3aa8c2700dec (diff)
downloadnss-hg-1a2e7afed3c6041e30d08e56d426c3b32f20965e.tar.gz
Bug 645460: Default to 32-bit NSS builds on OS X 10.6 (Snow Leopard) and
later, too. The patch is contributed by Kaspar Brand <mozbugzilla@velox.ch>. r=rrelyea,wtc. Tag: NSS_3_12_BRANCH
-rw-r--r--security/coreconf/Darwin.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/coreconf/Darwin.mk b/security/coreconf/Darwin.mk
index e76d83865..110d89f2a 100644
--- a/security/coreconf/Darwin.mk
+++ b/security/coreconf/Darwin.mk
@@ -54,9 +54,11 @@ ifdef USE_64
CC += -arch x86_64
else
OS_REL_CFLAGS = -Di386
+CC += -arch i386
endif
else
OS_REL_CFLAGS = -Dppc
+CC += -arch ppc
endif
ifneq (,$(MACOS_SDK_DIR))