summaryrefslogtreecommitdiffstats
path: root/package/openssl
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/openssl
parentde3c3d7181e75047dae810a729768e737d39730a (diff)
downloadmaster-31e0f0ae-fc1d7255ee4bf3ffedc5a46bdc4bb945ad8c0b87.tar.gz
master-31e0f0ae-fc1d7255ee4bf3ffedc5a46bdc4bb945ad8c0b87.tar.bz2
master-31e0f0ae-fc1d7255ee4bf3ffedc5a46bdc4bb945ad8c0b87.zip
add safethread
SVN-Revision: 33269
Diffstat (limited to 'package/openssl')
-rw-r--r--package/openssl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/openssl/Makefile b/package/openssl/Makefile
index d95783aac9..2962c07ed2 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,