[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH] nss: Fix build in x32 ABI
From: anibal.limon () linux ! intel ! com (=?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?=)
Date: 2015-03-30 23:58:18
Message-ID: 1427759898-11392-1-git-send-email-anibal.limon () linux ! intel ! com
[Download RAW message or body]
When try to build nss with x32 ABI enabled fails because
it need to be specified USE_X32 env var.
[YOCTO #7420]
Signed-off-by: An?bal Lim?n <anibal.limon at linux.intel.com>
---
meta/recipes-support/nss/nss.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc
index 4be3557..f2a49f2 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
make -C ./nss CCC="${CXX}" \
@@ -111,6 +113,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 \
--
1.8.4.5
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic