aboutsummaryrefslogtreecommitdiffstats
path: root/package/openssl/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-08-24 09:58:42 +0000
committerJohn Crispin <blogic@openwrt.org>2012-08-24 09:58:42 +0000
commit18d2f39bf21bd575b59c10cd2fac70d74bd991f6 (patch)
treee8db933c22aece24a508a2d423c10b606f7c4b68 /package/openssl/Makefile
parent617f1635c3f1a0c110650cca25248ab383bf43cd (diff)
downloadupstream-18d2f39bf21bd575b59c10cd2fac70d74bd991f6.tar.gz
upstream-18d2f39bf21bd575b59c10cd2fac70d74bd991f6.tar.bz2
upstream-18d2f39bf21bd575b59c10cd2fac70d74bd991f6.zip
[openssl] add safethread
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33269 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/openssl/Makefile')
-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,