Skip to contentSkip to conversation

pinentry: Some toolchains need -pthread in the linker command line

PATCH New Vicente Olivert Riera 2 participants 2 messages Jun 17, 2014 – Jul 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/pinentry/pinentry.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
package/pinentry/pinentry.mk +3 -0
index 11640a6..f340169 100644
@@ -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
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 pinentry: Some toolchains need -pthread in the linker command line

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

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/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard