diff options
author | Richard Purdie <richard@openedhand.com> | 2007-06-18 17:28:11 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-06-18 17:28:11 +0000 |
commit | b6dc9fc15ac87911aac1dd8fa0ff7ee2c54399d7 (patch) | |
tree | 7a7e0ba2014ac17ac76992ebc285ee24fc351768 /meta/packages/js/js_1.5.bb | |
parent | 9dbe065a251e02e4cc3051e55769381eb608657a (diff) | |
download | poky-b6dc9fc15ac87911aac1dd8fa0ff7ee2c54399d7.tar.gz |
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
Diffstat (limited to 'meta/packages/js/js_1.5.bb')
-rw-r--r-- | meta/packages/js/js_1.5.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/packages/js/js_1.5.bb b/meta/packages/js/js_1.5.bb index 5f8323769f..255fb55d7a 100644 --- a/meta/packages/js/js_1.5.bb +++ b/meta/packages/js/js_1.5.bb | |||
@@ -3,6 +3,7 @@ DESCRIPTION = "A JavaScript engine" | |||
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | DEPENDS = "readline" | 4 | DEPENDS = "readline" |
5 | SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/js-1.5.tar.gz \ | 5 | SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/js-1.5.tar.gz \ |
6 | file://link_with_gcc.patch;patch=1 \ | ||
6 | file://jsautocfg.h" | 7 | file://jsautocfg.h" |
7 | 8 | ||
8 | S = "${WORKDIR}/js/src" | 9 | S = "${WORKDIR}/js/src" |
@@ -10,7 +11,7 @@ S = "${WORKDIR}/js/src" | |||
10 | FILES_${PN} = "${libdir}/lib*.so" | 11 | FILES_${PN} = "${libdir}/lib*.so" |
11 | FILES_${PN}-dev = "${includedir} ${libdir}/lib*.a" | 12 | FILES_${PN}-dev = "${includedir} ${libdir}/lib*.a" |
12 | 13 | ||
13 | EXTRA_OEMAKE = "'CC=${CC}' 'LD=${LD}' 'XCFLAGS=${CFLAGS}' 'XLDFLAGS=-L${STAGING_LIBDIR} -soname=libjs'" | 14 | EXTRA_OEMAKE = "'CC=${CC}' 'LD=${LD}' 'XCFLAGS=${CFLAGS}' 'XLDFLAGS=${LDFLAGS} -Wl,-soname=libjs'" |
14 | 15 | ||
15 | do_compile_prepend() { | 16 | do_compile_prepend() { |
16 | cp ${WORKDIR}/jsautocfg.h ${S}/ | 17 | cp ${WORKDIR}/jsautocfg.h ${S}/ |