diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2019-04-04 22:56:41 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2019-04-04 22:56:41 +0300 |
commit | 09752fce1f04f95c05ac9cb275f91ee9ba72d564 (patch) | |
tree | fbafc353667be1e1e79c63bad4cbb4f4c1991c38 /misc | |
parent | df8cb313697a9c2574db30be2e494656265c1f59 (diff) | |
download | nginx-09752fce1f04f95c05ac9cb275f91ee9ba72d564.tar.gz |
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.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/GNUmakefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/GNUmakefile b/misc/GNUmakefile index 241cd4af5..2a71ce069 100644 --- a/misc/GNUmakefile +++ b/misc/GNUmakefile @@ -82,8 +82,7 @@ win32: --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 |