summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-24 09:58:42 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-24 09:58:42 +0000
commit0e9f6a8fa3c73985d9dac4ad2736834728c09fd4 (patch)
treee8db933c22aece24a508a2d423c10b606f7c4b68 /package
parent8686fda5252d110eea6d3ad238b965dcd1df7461 (diff)
[openssl] add safethread
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33269 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 d95783aac..2962c07ed 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,