js: Use gcc for linking so LDFLAGS can be used in full rather that hardcoded subsets

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1968 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2007-06-18 17:28:11 +00:00
parent 9dbe065a25
commit b6dc9fc15a
3 changed files with 15 additions and 17 deletions

View File

@@ -0,0 +1,13 @@
Index: src/config/Linux_All.mk
===================================================================
--- src.orig/config/Linux_All.mk 2005-05-10 19:53:44.000000000 +0000
+++ src/config/Linux_All.mk 2007-06-18 17:20:05.000000000 +0000
@@ -47,7 +47,7 @@
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R
RANLIB = echo
-MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS)
+MKSHLIB = $(CC) -shared $(XMKSHLIBOPTS)
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<