From: John Crispin Date: Fri, 24 Aug 2012 09:58:42 +0000 (+0000) Subject: [openssl] add safethread X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=ee663d79f5e7383f567412ab3ace7b6dc01f99dd [openssl] 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,