From: blogic Date: Fri, 24 Aug 2012 09:58:42 +0000 (+0000) Subject: [openssl] add safethread X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=0e9f6a8fa3c73985d9dac4ad2736834728c09fd4;p=openwrt.git [openssl] add safethread git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33269 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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,