Mercurial > hg > nginx
changeset 7489:af8abe105348
Win32: avoid using CFLAGS, just add define instead.
With CFLAGS set as in 7da71a7b141a, OpenSSL compilation drops various
non-important compiler options. To avoid this, a define is added
instead - OpenSSL is smart enough to recognize -D... in Configure
arguments.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 04 Apr 2019 22:56:41 +0300 |
parents | 955c4b186354 |
children | 5155d0296a5e |
files | misc/GNUmakefile |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/misc/GNUmakefile Thu Apr 04 19:30:47 2019 +0300 +++ b/misc/GNUmakefile Thu Apr 04 22:56:41 2019 +0300 @@ -82,8 +82,7 @@ --with-mail \ --with-stream \ --with-openssl=$(OBJS)/lib/$(OPENSSL) \ - --with-openssl-opt="no-asm no-tests \ - CFLAGS=-D_WIN32_WINNT=0x0501" \ + --with-openssl-opt="no-asm no-tests -D_WIN32_WINNT=0x0501" \ --with-http_ssl_module \ --with-mail_ssl_module \ --with-stream_ssl_module