* [Buildroot] [PATCH 1/2] nettle: fix missing link to libm
@ 2012-12-29 11:52 Gustavo Zacarias
2012-12-29 11:52 ` [Buildroot] [PATCH 2/2] gnutls: fix legal-info Gustavo Zacarias
2012-12-29 13:25 ` [Buildroot] [PATCH 1/2] nettle: fix missing link to libm Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2012-12-29 11:52 UTC (permalink / raw)
To: buildroot
nettle-benchmark uses ldexp without explicitly linking to libm, fixes:
http://autobuild.buildroot.net/results/c8e64fabcb98b1ff4bf737e2181b7cf2ae731550
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
...le-Added-lm-when-linking-nettle-benchmark.patch | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
create mode 100644 package/nettle/nettle-Added-lm-when-linking-nettle-benchmark.patch
diff --git a/package/nettle/nettle-Added-lm-when-linking-nettle-benchmark.patch b/package/nettle/nettle-Added-lm-when-linking-nettle-benchmark.patch
new file mode 100644
index 0000000..ca4d639
--- /dev/null
+++ b/package/nettle/nettle-Added-lm-when-linking-nettle-benchmark.patch
@@ -0,0 +1,17 @@
+Added -lm when linking nettle-benchmark.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff --git a/examples/Makefile.in b/examples/Makefile.in
+index 909fdda..3becd08 100644
+--- a/examples/Makefile.in
++++ b/examples/Makefile.in
+@@ -11,7 +11,7 @@ PRE_CPPFLAGS = -I.. -I$(top_srcdir)
+ PRE_LDFLAGS = -L..
+
+ OPENSSL_LIBFLAGS = @OPENSSL_LIBFLAGS@
+-BENCH_LIBS = @BENCH_LIBS@
++BENCH_LIBS = @BENCH_LIBS@ -lm
+
+ RSA_TARGETS = rsa-keygen$(EXEEXT) rsa-sign$(EXEEXT) \
+ rsa-verify$(EXEEXT) rsa-encrypt$(EXEEXT) rsa-decrypt$(EXEEXT)
--
1.7.8.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] gnutls: fix legal-info
2012-12-29 11:52 [Buildroot] [PATCH 1/2] nettle: fix missing link to libm Gustavo Zacarias
@ 2012-12-29 11:52 ` Gustavo Zacarias
2012-12-29 13:25 ` [Buildroot] [PATCH 1/2] nettle: fix missing link to libm Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2012-12-29 11:52 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/gnutls/gnutls.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index e27c1a3..0166a74 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -8,7 +8,7 @@ GNUTLS_VERSION = 3.1.5
GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz
GNUTLS_SITE = $(BR2_GNU_MIRROR)/gnutls
GNUTLS_LICENSE = GPLv3+ LGPLv3
-GNUTLS_LICENSE_FILES = COPYING lib/COPYING
+GNUTLS_LICENSE_FILES = COPYING COPYING.LESSER
GNUTLS_DEPENDENCIES = host-pkgconf nettle $(if $(BR2_PACKAGE_ZLIB),zlib)
GNUTLS_CONF_OPT = --with-libnettle-prefix=$(STAGING_DIR)/usr --disable-rpath
GNUTLS_CONF_ENV = gl_cv_socket_ipv6=$(if $(BR2_INET_IPV6),yes,no) \
--
1.7.8.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] nettle: fix missing link to libm
2012-12-29 11:52 [Buildroot] [PATCH 1/2] nettle: fix missing link to libm Gustavo Zacarias
2012-12-29 11:52 ` [Buildroot] [PATCH 2/2] gnutls: fix legal-info Gustavo Zacarias
@ 2012-12-29 13:25 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2012-12-29 13:25 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> nettle-benchmark uses ldexp without explicitly linking to libm, fixes:
Gustavo> http://autobuild.buildroot.net/results/c8e64fabcb98b1ff4bf737e2181b7cf2ae731550
Committed both, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-29 13:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-29 11:52 [Buildroot] [PATCH 1/2] nettle: fix missing link to libm Gustavo Zacarias
2012-12-29 11:52 ` [Buildroot] [PATCH 2/2] gnutls: fix legal-info Gustavo Zacarias
2012-12-29 13:25 ` [Buildroot] [PATCH 1/2] nettle: fix missing link to libm Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox