diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-03-23 23:37:04 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-23 23:37:04 +0000 |
commit | 76536d8a6fc107a35f577dc49c423c6091e87956 (patch) | |
tree | 295c44f8f03cb1550b14cd992a8de4990dd2988b /packages/js/files/host-cc.patch | |
parent | f7b59c770055d8ba5870df404718d689e6990723 (diff) |
Add js 1.5
Diffstat (limited to 'packages/js/files/host-cc.patch')
-rw-r--r-- | packages/js/files/host-cc.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/js/files/host-cc.patch b/packages/js/files/host-cc.patch new file mode 100644 index 0000000000..78a1e1b5a0 --- /dev/null +++ b/packages/js/files/host-cc.patch @@ -0,0 +1,16 @@ +diff -urNd smjs-1.5-r0/js/src/Makefile.ref smjs-1.5-r0.new/js/src/Makefile.ref +--- smjs-1.5-r0/js/src/Makefile.ref 2003-11-15 00:10:55.000000000 +0000 ++++ smjs-1.5-r0.new/js/src/Makefile.ref 2006-01-31 23:43:16.000000000 +0000 +@@ -317,8 +317,11 @@ + rm -f $@ + $(OBJDIR)/jscpucfg > $@ + ++$(OBJDIR)/jscpucfg.o: jscpucfg.c jscpucfg.h ++ $(HOST_CC) -o $@ $(CFLAGS) $(LDFLAGS) jscpucfg.c ++ + $(OBJDIR)/jscpucfg: $(OBJDIR)/jscpucfg.o +- $(CC) -o $@ $(OBJDIR)/jscpucfg.o ++ $(HOST_CC) -o $@ $(OBJDIR)/jscpucfg.o + + # Look in OBJDIR to find jsautocfg.h + INCLUDES += -I$(OBJDIR) |