summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-06 21:45:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-06 21:45:41 +0100
commitf8fcb0fbd7b6f9aedbc01c62aa6b2b255a44b586 (patch)
tree0a9990f31a26133f61542fcf0ac2d0df1a16dfcc /package
parentad6d002a0a9fc7e89d0bf609729447e1c075e5d7 (diff)
allow to build x86 without threads
Diffstat (limited to 'package')
-rw-r--r--package/libpthread/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
index 62cf9b729..be77d00b6 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -32,6 +32,7 @@ libpthread-install:
ifneq ($(ADK_TARGET_LIB_MUSL),y)
ifneq ($(ADK_TARGET_USE_STATIC_LIBS),y)
ifneq ($(ADK_TARGET_WITHOUT_THREADS),y)
+ifneq ($(ADK_TARGET_LIB_WITHOUT_THREADS),y)
ifneq ($(ADK_TARGET_BINFMT_FLAT),y)
${INSTALL_DIR} ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH)
${CP} ${STAGING_TARGET_DIR}/lib/libpthread*.so* ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH)
@@ -39,5 +40,6 @@ endif
endif
endif
endif
+endif
include ${ADK_TOPDIR}/mk/pkg-bottom.mk