merge of '07a342693675fe2b1daacf0eb62302579d9fade3'
[org.openembedded.dev.git] / packages / js / files / host-cc.patch
blob78a1e1b5a0e1d968f16e7cac1897074761a6d6da
1 diff -urNd smjs-1.5-r0/js/src/Makefile.ref smjs-1.5-r0.new/js/src/Makefile.ref
2 --- smjs-1.5-r0/js/src/Makefile.ref 2003-11-15 00:10:55.000000000 +0000
3 +++ smjs-1.5-r0.new/js/src/Makefile.ref 2006-01-31 23:43:16.000000000 +0000
4 @@ -317,8 +317,11 @@
5 rm -f $@
6 $(OBJDIR)/jscpucfg > $@
8 +$(OBJDIR)/jscpucfg.o: jscpucfg.c jscpucfg.h
9 + $(HOST_CC) -o $@ $(CFLAGS) $(LDFLAGS) jscpucfg.c
11 $(OBJDIR)/jscpucfg: $(OBJDIR)/jscpucfg.o
12 - $(CC) -o $@ $(OBJDIR)/jscpucfg.o
13 + $(HOST_CC) -o $@ $(OBJDIR)/jscpucfg.o
15 # Look in OBJDIR to find jsautocfg.h
16 INCLUDES += -I$(OBJDIR)