summaryrefslogtreecommitdiff
path: root/package/pinentry
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2014-06-17 11:23:13 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-07-04 15:07:26 +0200
commit23c48fd8b851591f416d3d9ac8363370c13a6e75 (patch)
tree9057d41c8527254bcc410c0128d32702d61145ce /package/pinentry
parent94423c82518aba5dbe9bfa25200822f82ecfd670 (diff)
pinentry: Some toolchains need -pthread in the linker command line
Some toolchains, like Sourcery Codebench 2013.05, need -pthread to be added to the linker command line when linking pinentry-qt. Fixes: http://autobuild.buildroot.net/results/6be/6be109ccedec603a67cebdb31b55865dcce0e128/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/pinentry')
-rw-r--r--package/pinentry/pinentry.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/pinentry/pinentry.mk b/package/pinentry/pinentry.mk
index 11640a679..f3401696b 100644
--- a/package/pinentry/pinentry.mk
+++ b/package/pinentry/pinentry.mk
@@ -39,6 +39,9 @@ endif
# pinentry-qt4 backend
ifeq ($(BR2_PACKAGE_PINENTRY_QT4),y)
+# -pthread needs to be passed for certain toolchains
+# http://autobuild.buildroot.net/results/6be/6be109ccedec603a67cebdb31b55865dcce0e128/
+PINENTRY_CONF_OPT += LIBS=-pthread
PINENTRY_CONF_OPT += --enable-pinentry-qt4
PINENTRY_DEPENDENCIES += qt
else