Xulrunner needs a slightly different version of this patch,
the updated 90_mips_performance.dpatch is appended.


Thiemo



#! /bin/sh /usr/share/dpatch/dpatch-run
## 90_mips_performance.dpatch by  <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Patch from Thiemo Seufer to increase stability and performance on mips.

@DPATCH@

--- xulrunner-1.8.0.1/configure.in.old  2006-06-20 23:46:55.000000000 +0100
+++ xulrunner-1.8.0.1/configure.in      2006-06-20 23:52:32.000000000 +0100
@@ -1481,8 +1481,7 @@ case "$target" in
         MOZ_ENABLE_OLD_ABI_COMPAT_WRAPPERS=1
     ;;
     mips*)
-        CFLAGS="$CFLAGS -Wa,-xgot"
-        CXXFLAGS="$CXXFLAGS -Wa,-xgot"
+        MOZ_DEBUG_FLAGS="-g"   # We want inlining
     ;;
     esac
     ;;
--- xulrunner-1.8.0.1/config/rules.mk.old       2006-06-20 23:47:48.000000000 
+0100
+++ xulrunner-1.8.0.1/config/rules.mk   2006-06-20 23:48:04.000000000 +0100
@@ -456,15 +456,6 @@ endif
 endif
 endif
 
-ifeq ($(OS_ARCH),Linux)
-ifneq (,$(filter mips mipsel,$(OS_TEST)))
-ifeq ($(MODULE),layout)
-OS_CFLAGS += -Wa,-xgot
-OS_CXXFLAGS += -Wa,-xgot
-endif
-endif
-endif
-
 #
 # HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag
 # which uses internal symbols first


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to