summaryrefslogtreecommitdiff
path: root/recipes/mozilla/firefox-3.5.4/jsautocfg-dontoverwrite.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-11-02 11:22:10 +0100
committerKoen Kooi <koen@openembedded.org>2009-11-02 13:17:13 +0100
commitb1b029537f885bb27314552f21a159d6b75895d4 (patch)
treee295ee0eb9072cd2d2bf2b4b3ce91bc471983a3f /recipes/mozilla/firefox-3.5.4/jsautocfg-dontoverwrite.patch
parent7e6ad01cd018c8603677712fa082f664d1122734 (diff)
firefox: add 3.5.4
Diffstat (limited to 'recipes/mozilla/firefox-3.5.4/jsautocfg-dontoverwrite.patch')
-rw-r--r--recipes/mozilla/firefox-3.5.4/jsautocfg-dontoverwrite.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/mozilla/firefox-3.5.4/jsautocfg-dontoverwrite.patch b/recipes/mozilla/firefox-3.5.4/jsautocfg-dontoverwrite.patch
new file mode 100644
index 0000000000..39978cfd11
--- /dev/null
+++ b/recipes/mozilla/firefox-3.5.4/jsautocfg-dontoverwrite.patch
@@ -0,0 +1,23 @@
+--- mozilla/js/src/Makefile.in.orig 2006-12-12 11:46:02.000000000 +0000
++++ mozilla/js/src/Makefile.in 2006-12-12 11:46:27.000000000 +0000
+@@ -319,20 +319,8 @@
+
+ jsopcode.h jsopcode.c: jsopcode.tbl
+
+-ifeq (,$(CROSS_COMPILE)$(filter-out WINNT,$(OS_ARCH)))
+ jsautocfg.h:
+ touch $@
+-else
+-ifeq ($(OS_ARCH),WINCE)
+-jsautocfg.h:
+- touch $@
+-else
+-jsautocfg.h: jscpucfg$(HOST_BIN_SUFFIX)
+- @rm -f $@ jsautocfg.tmp
+- ./jscpucfg > jsautocfg.tmp
+- mv jsautocfg.tmp $@
+-endif
+-endif
+
+ # jscpucfg is a strange target
+ # Needs to be built with the host compiler but needs to include