summaryrefslogtreecommitdiff
path: root/recipes/mozilla/firefox-2.0.0.3/jsautocfg-dontoverwrite.patch
blob: 39978cfd118e8fd26db8a1d25704be0bdd6f94d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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