diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2016-12-24 18:01:14 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-12-24 18:01:14 +0300 |
| commit | a4c7e7b1dba97f130df5053d77fa64e8ae88e1b1 (patch) | |
| tree | 9b0b3ac4a6e784332fc9b6993e221f73bdd20f70 | |
| parent | c2d3d82ccbea18f0504fbaceeee6efb62da8d1d8 (diff) | |
| download | nginx-a4c7e7b1dba97f130df5053d77fa64e8ae88e1b1.tar.gz nginx-a4c7e7b1dba97f130df5053d77fa64e8ae88e1b1.tar.bz2 | |
Win32: added a variable to specify compiler.
This allows to set a different one from command line when needed.
For example, to configure nginx with gcc as a compiler one could
use "make -f misc/GNUmakefile win32 CC=gcc".
| -rw-r--r-- | misc/GNUmakefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/GNUmakefile b/misc/GNUmakefile index 9ab419306..064fac1bd 100644 --- a/misc/GNUmakefile +++ b/misc/GNUmakefile @@ -4,6 +4,7 @@ VER = $(shell grep 'define NGINX_VERSION' src/core/nginx.h \ NGINX = nginx-$(VER) TEMP = tmp +CC = cl OBJS = objs.msvc8 OPENSSL = openssl-1.0.2j ZLIB = zlib-1.2.8 @@ -47,7 +48,7 @@ RELEASE: win32: ./auto/configure \ - --with-cc=cl \ + --with-cc=$(CC) \ --builddir=$(OBJS) \ --with-debug \ --prefix= \ |
