From: John Crispin Date: Fri, 24 Aug 2012 09:58:42 +0000 (+0000) Subject: add safethread X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fc1d7255ee4bf3ffedc5a46bdc4bb945ad8c0b87;p=openwrt%2Fstaging%2Fblocktrron.git add safethread SVN-Revision: 33269 --- 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,