瀏覽代碼

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>
Vicente Olivert Riera 11 年之前
父節點
當前提交
23c48fd8b8
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      package/pinentry/pinentry.mk

+ 3 - 0
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