aboutsummaryrefslogtreecommitdiffstats
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
parent617f1635c3f1a0c110650cca25248ab383bf43cd (diff)
downloadmaster-187ad058-18d2f39bf21bd575b59c10cd2fac70d74bd991f6.tar.gz
master-187ad058-18d2f39bf21bd575b59c10cd2fac70d74bd991f6.tar.bz2
master-187ad058-18d2f39bf21bd575b59c10cd2fac70d74bd991f6.zip
[openssl] add safethread
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33269 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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,