diff options
Diffstat (limited to 'recipes/mozilla/fennec/jsautocfg-dontoverwrite.patch')
-rw-r--r-- | recipes/mozilla/fennec/jsautocfg-dontoverwrite.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/mozilla/fennec/jsautocfg-dontoverwrite.patch b/recipes/mozilla/fennec/jsautocfg-dontoverwrite.patch new file mode 100644 index 0000000000..b3188de32f --- /dev/null +++ b/recipes/mozilla/fennec/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 |