aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mozilla/firefox/jsautocfg-dontoverwrite.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-10-01 12:14:34 +0200
committerKoen Kooi <koen@openembedded.org>2009-10-01 13:12:00 +0200
commit1fb6ea09d2c75b67627835aa3d055df5e168ca29 (patch)
tree434bf68c46b9b04e2fe529cd7b0a997153f1aa7c /recipes/mozilla/firefox/jsautocfg-dontoverwrite.patch
parent96f8ec7a61658573adf438763f392bccc8c6f3c7 (diff)
downloadopenembedded-1fb6ea09d2c75b67627835aa3d055df5e168ca29.tar.gz
firefox 3.5.2: sync with AlwaysInnovating overlay
Diffstat (limited to 'recipes/mozilla/firefox/jsautocfg-dontoverwrite.patch')
-rw-r--r--recipes/mozilla/firefox/jsautocfg-dontoverwrite.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/mozilla/firefox/jsautocfg-dontoverwrite.patch b/recipes/mozilla/firefox/jsautocfg-dontoverwrite.patch
new file mode 100644
index 0000000000..b3188de32f
--- /dev/null
+++ b/recipes/mozilla/firefox/jsautocfg-dontoverwrite.patch
@@ -0,0 +1,23 @@
+--- /tmp/Makefile.in 2009-03-20 10:34:54.000000000 +0100
++++ mozilla-central/js/src/Makefile.in 2009-03-20 10:35:18.000000000 +0100
+@@ -507,20 +507,8 @@
+
+ export:: jsautocfg.h
+
+-ifeq (,$(CROSS_COMPILE)$(GNU_CC)$(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