aboutsummaryrefslogtreecommitdiffstats
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
parentde3c3d7181e75047dae810a729768e737d39730a (diff)
downloadupstream-fc1d7255ee4bf3ffedc5a46bdc4bb945ad8c0b87.tar.gz
upstream-fc1d7255ee4bf3ffedc5a46bdc4bb945ad8c0b87.tar.bz2
upstream-fc1d7255ee4bf3ffedc5a46bdc4bb945ad8c0b87.zip
add safethread
SVN-Revision: 33269
-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,