Package: nss / 3.12.8-1+squeeze7

38_mips64_build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## 38_mips64_build.patch by Mike Hommey <glandium@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Patch from Martin Michlmayr for mips64 builds. bz#330626

diff --git a/mozilla/security/coreconf/Linux.mk b/mozilla/security/coreconf/Linux.mk
index 86d3edc..4ed2e80 100644
--- a/mozilla/security/coreconf/Linux.mk
+++ b/mozilla/security/coreconf/Linux.mk
@@ -80,6 +80,9 @@ else
 ifeq (,$(filter-out parisc%,$(OS_TEST)))
 	CPU_ARCH        = hppa
 else
+ifeq ($(OS_TEST),mips64)
+	CPU_ARCH        = mips
+else
 ifeq (,$(filter-out i%86,$(OS_TEST)))
 	OS_REL_CFLAGS	= -Di386
 	CPU_ARCH	= x86
@@ -97,6 +100,7 @@ endif
 endif
 endif
 endif
+endif
 
 
 LIBC_TAG		= _glibc