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.
Maxim Dounin
3 years ago
81 | 81 | --with-mail \ |
82 | 82 | --with-stream \ |
83 | 83 | --with-openssl=$(OBJS)/lib/$(OPENSSL) \ |
84 | --with-openssl-opt="no-asm no-tests \ | |
85 | CFLAGS=-D_WIN32_WINNT=0x0501" \ | |
84 | --with-openssl-opt="no-asm no-tests -D_WIN32_WINNT=0x0501" \ | |
86 | 85 | --with-http_ssl_module \ |
87 | 86 | --with-mail_ssl_module \ |
88 | 87 | --with-stream_ssl_module |