Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] botan: fix build on uclibc
@ 2018-09-11 18:54 Fabrice Fontaine
  2018-09-12  8:39 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2018-09-11 18:54 UTC (permalink / raw)
  To: buildroot

uclibc does not have sys/auxv.h so disable getauxval

Fixes:
 - http://autobuild.buildroot.org/results/0000636025b843ab343dc45ccd29979325aff428

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/botan/botan.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/botan/botan.mk b/package/botan/botan.mk
index e352fab6c9..4788617d4a 100644
--- a/package/botan/botan.mk
+++ b/package/botan/botan.mk
@@ -40,6 +40,10 @@ else
 BOTAN_CONF_OPTS += --without-stack-protector
 endif
 
+ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
+BOTAN_CONF_OPTS += --without-os-feature=getauxval
+endif
+
 ifeq ($(BR2_PACKAGE_BOOST),y)
 BOTAN_DEPENDENCIES += boost
 BOTAN_CONF_OPTS += --with-boost
-- 
2.17.1

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

* [Buildroot] [PATCH 1/1] botan: fix build on uclibc
  2018-09-11 18:54 [Buildroot] [PATCH 1/1] botan: fix build on uclibc Fabrice Fontaine
@ 2018-09-12  8:39 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-09-12  8:39 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 11 Sep 2018 20:54:36 +0200, Fabrice Fontaine wrote:
> uclibc does not have sys/auxv.h so disable getauxval
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/0000636025b843ab343dc45ccd29979325aff428
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/botan/botan.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2018-09-12  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-11 18:54 [Buildroot] [PATCH 1/1] botan: fix build on uclibc Fabrice Fontaine
2018-09-12  8:39 ` Thomas Petazzoni

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