summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-08-24 09:58:42 +0000
committerJohn Crispin <john@openwrt.org>2012-08-24 09:58:42 +0000
commitfc1d7255ee4bf3ffedc5a46bdc4bb945ad8c0b87 (patch)
tree0eea76688d38fd659c9c464c279d36d63224f2cd /package
parentde3c3d7181e75047dae810a729768e737d39730a (diff)
downloadmtk-20170518-fc1d7255ee4bf3ffedc5a46bdc4bb945ad8c0b87.zip
mtk-20170518-fc1d7255ee4bf3ffedc5a46bdc4bb945ad8c0b87.tar.gz
mtk-20170518-fc1d7255ee4bf3ffedc5a46bdc4bb945ad8c0b87.tar.bz2
add safethread
SVN-Revision: 33269
Diffstat (limited to 'package')
-rw-r--r--package/openssl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/openssl/Makefile b/package/openssl/Makefile
index d95783a..2962c07 100644
--- a/package/openssl/Makefile
+++ b/package/openssl/Makefile
@@ -105,7 +105,7 @@ define Build/Configure
)
endef
-TARGET_CFLAGS += $(FPIC)
+TARGET_CFLAGS += $(FPIC) -DOPENSSL_THREADS -pthread -D_REENTRANT -D_THREAD_SAFE -D_THREADSAFE
define Build/Compile
# XXX: OpenSSL "make depend" will look for installed headers before its own,