[Buildroot] [PATCH v2 1/4] package: add libnpsr host package

Gaël PORTAY gael.portay at savoirfairelinux.com
Thu Mar 15 19:50:51 UTC 2018


Signed-off-by: Gaël PORTAY <gael.portay at savoirfairelinux.com>
---
Changes since v1:
 * detect 64bits buid machine by filtering on 64 on HOSTARCH
 * remove useless Config.in.host

 package/libnspr/libnspr.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/libnspr/libnspr.mk b/package/libnspr/libnspr.mk
index 0c782ae309..a0ff44c900 100644
--- a/package/libnspr/libnspr.mk
+++ b/package/libnspr/libnspr.mk
@@ -49,4 +49,7 @@ LIBNSPR_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIBRARY= install
 LIBNSPR_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIBRARY= install
 endif
 
+HOST_LIBNSPR_CONF_OPTS += --$(if $(filter %64,$(HOSTARCH)),en,dis)able-64bit
+
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))
-- 
2.16.1




More information about the buildroot mailing list