From: Khem Raj Date: Thu, 9 Dec 2010 19:29:56 +0000 (-0800) Subject: js_1.5.bb: Beat it to respect LDFLAGS X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1facf79a2f47abc3bc26fe3e8ddd4bb59fc326a;p=openembedded.git js_1.5.bb: Beat it to respect LDFLAGS * Fixes QA errors like below ERROR: QA Issue with js: No GNU_HASH in the elf binary: '/scratch/oe/work/armv7a-oe-linux-gnueabi/js-1.5-r2/packages-split/js/usr/lib/libjs.so' ERROR: QA run found fatal errors. Please consider fixing them. Signed-off-by: Khem Raj --- diff --git a/recipes/js/js_1.5.bb b/recipes/js/js_1.5.bb index f9aba904aa..869fd88f03 100644 --- a/recipes/js/js_1.5.bb +++ b/recipes/js/js_1.5.bb @@ -3,7 +3,7 @@ LICENSE = "GPL" SECTION = "libs/network" DEPENDS = "readline ncurses" -PR = "r2" +PR = "r3" SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/older-packages/js-1.5.tar.gz \ file://libtermcap.patch \ @@ -11,6 +11,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/older-packages/js-1.5.tar.g S = "${WORKDIR}/js/src" EXTRA_OEMAKE = "'CC=${CC}' 'LD=${LD}' 'XCFLAGS=${CFLAGS}' 'XLDFLAGS=-L${STAGING_LIBDIR} -soname=libjs'" +TARGET_CC_ARCH += "${LDFLAGS}" do_compile_prepend() { cp ${WORKDIR}/jsautocfg.h ${S}/