aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mozilla/firefox-3.6.6/security-cross.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mozilla/firefox-3.6.6/security-cross.patch')
-rw-r--r--recipes/mozilla/firefox-3.6.6/security-cross.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/recipes/mozilla/firefox-3.6.6/security-cross.patch b/recipes/mozilla/firefox-3.6.6/security-cross.patch
new file mode 100644
index 0000000000..cfe57b28f0
--- /dev/null
+++ b/recipes/mozilla/firefox-3.6.6/security-cross.patch
@@ -0,0 +1,57 @@
+--- /tmp/Linux.mk 2010-03-23 18:52:06.000000000 +0100
++++ mozilla-1.9.2/security/coreconf/Linux.mk 2010-03-23 18:52:57.000000000 +0100
+@@ -52,52 +52,8 @@
+
+ DEFAULT_COMPILER = gcc
+
+-ifeq ($(OS_TEST),ppc64)
+- CPU_ARCH = ppc
+-ifeq ($(USE_64),1)
+- ARCHFLAG = -m64
+-endif
+-else
+-ifeq ($(OS_TEST),alpha)
+- OS_REL_CFLAGS = -D_ALPHA_
+- CPU_ARCH = alpha
+-else
+-ifeq ($(OS_TEST),x86_64)
+-ifeq ($(USE_64),1)
+- CPU_ARCH = x86_64
+-else
+- OS_REL_CFLAGS = -Di386
+- CPU_ARCH = x86
+- ARCHFLAG = -m32
+-endif
+-else
+-ifeq ($(OS_TEST),sparc64)
+- CPU_ARCH = sparc
+-else
+-ifeq (,$(filter-out arm% sa110,$(OS_TEST)))
+- CPU_ARCH = arm
+-else
+-ifeq (,$(filter-out parisc%,$(OS_TEST)))
+- CPU_ARCH = hppa
+-else
+-ifeq (,$(filter-out i%86,$(OS_TEST)))
+- OS_REL_CFLAGS = -Di386
+- CPU_ARCH = x86
+-else
+-ifeq ($(OS_TEST),sh4a)
+- CPU_ARCH = sh4
+-else
+-# $(OS_TEST) == m68k, ppc, ia64, sparc, s390, s390x, mips, sh3, sh4
+- CPU_ARCH = $(OS_TEST)
+-endif
+-endif
+-endif
+-endif
+-endif
+-endif
+-endif
+-endif
+-
++OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
++CPU_ARCH =
+
+ LIBC_TAG = _glibc
+