* [Buildroot] [PATCH] gnutls: make sure librt detection doesn't poison the linker flags
@ 2015-02-14 21:18 Thomas Petazzoni
2015-02-17 13:00 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2015-02-14 21:18 UTC (permalink / raw)
To: buildroot
Just like we're passing --with-libpthread-prefix, we also need to pass
--with-librt-prefix in order to avoid having the gnutls build system
detect the librt in /usr/lib, and pass -L/usr/lib to the linker flags.
Fixes:
http://autobuild.buildroot.org/results/fa5/fa58602cb78ffe3ae4ee389ef5cf5a37b7657c4c/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/gnutls/gnutls.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index ab176a6..6c64b38 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -17,6 +17,7 @@ GNUTLS_DEPENDENCIES = host-pkgconf nettle pcre \
$(if $(BR2_PACKAGE_ZLIB),zlib)
GNUTLS_CONF_OPTS = \
--with-libnettle-prefix=$(STAGING_DIR)/usr \
+ --with-librt-prefix=$(STAGING_DIR) \
--disable-rpath \
--disable-doc \
--disable-guile \
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] gnutls: make sure librt detection doesn't poison the linker flags
2015-02-14 21:18 [Buildroot] [PATCH] gnutls: make sure librt detection doesn't poison the linker flags Thomas Petazzoni
@ 2015-02-17 13:00 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-02-17 13:00 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 14 Feb 2015 22:18:51 +0100, Thomas Petazzoni wrote:
> Just like we're passing --with-libpthread-prefix, we also need to pass
> --with-librt-prefix in order to avoid having the gnutls build system
> detect the librt in /usr/lib, and pass -L/usr/lib to the linker flags.
>
> Fixes:
>
> http://autobuild.buildroot.org/results/fa5/fa58602cb78ffe3ae4ee389ef5cf5a37b7657c4c/
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> package/gnutls/gnutls.mk | 1 +
> 1 file changed, 1 insertion(+)
Since the issue occurred again in the autobuilder, I applied this patch.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-17 13:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-14 21:18 [Buildroot] [PATCH] gnutls: make sure librt detection doesn't poison the linker flags Thomas Petazzoni
2015-02-17 13:00 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.