From c53661af384b215ce121427a4b73508b4d28ed25 Mon Sep 17 00:00:00 2001 From: Aníbal Limón Date: Wed, 8 Apr 2015 10:04:45 +0000 Subject: nss: Fix build in x32 ABI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When try to build nss with x32 ABI enabled fails because it need to be specified USE_X32 env var. [YOCTO #7420] (From OE-Core master rev: 2898c2cf94bd690ebfc4ab5f4d220e6ea05aca82) (From OE-Core rev: 9eb690e7ce168bcf97055ba0e5325bd0b0107cb4) Signed-off-by: Aníbal Limón Signed-off-by: Richard Purdie --- meta/recipes-support/nss/nss.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta') diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc index 4082930ace..665e4e6a09 100644 --- a/meta/recipes-support/nss/nss.inc +++ b/meta/recipes-support/nss/nss.inc @@ -72,6 +72,8 @@ do_compile() { if [ "${SITEINFO_BITS}" = "64" ]; then export USE_64=1 + elif [ "${TARGET_ARCH}" = "x86_64" -a "${SITEINFO_BITS}" = "32" ]; then + export USE_X32=1 fi # We can modify CC in the environment, but if we set it via an @@ -115,6 +117,8 @@ do_install() { fi if [ "${SITEINFO_BITS}" = "64" ]; then export USE_64=1 + elif [ "${TARGET_ARCH}" = "x86_64" -a "${SITEINFO_BITS}" = "32" ]; then + export USE_X32=1 fi make -C ./nss \ -- cgit v1.2.3-54-g00ecf