Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libnss: fix 64-bit build
@ 2012-07-10 22:30 Arnout Vandecappelle
  2012-07-17 22:16 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Arnout Vandecappelle @ 2012-07-10 22:30 UTC (permalink / raw)
  To: buildroot

On some architectures (found on x86_64, but probably others too),
libnss builds with -m32 unless it is configured for 64-bit build.  So
force 64-bit build on 64-bit architectures.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

---
 package/libnss/libnss.mk |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk
index ea6a329..93547d9 100644
--- a/package/libnss/libnss.mk
+++ b/package/libnss/libnss.mk
@@ -28,6 +28,10 @@ LIBNSS_BUILD_VARS = MOZILLA_CLIENT=1 \
 		OS_RELEASE="2.6" \
 		OS_TEST="$(ARCH)"
 
+ifeq ($(BR2_ARCH_IS_64),y)
+LIBNSS_BUILD_VARS += USE_64=1
+endif
+
 
 define LIBNSS_BUILD_CMDS
 	$(MAKE1) -C $(@D)/$(LIBNSS_SUBDIR)/nss build_coreconf build_dbm all \
-- 
tg: (b8b57bb..) t/libnss-64 (depends on: master)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-17 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-10 22:30 [Buildroot] [PATCH] libnss: fix 64-bit build Arnout Vandecappelle
2012-07-17 22:16 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox