From c5f6b96f42b390ce0e753730375addaddd0362de Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 23 Sep 2015 16:26:41 +0300 Subject: [PATCH] nJS should be built by the same compiler as nginx. --- nginx/config.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/config.make b/nginx/config.make index f252ca47..a9d5e908 100644 --- a/nginx/config.make +++ b/nginx/config.make @@ -3,7 +3,7 @@ cat << END >> $NGX_MAKEFILE $ngx_addon_dir/../build/libnjs.a: cd $ngx_addon_dir/.. \\ && if [ -f nxt/Makefile.conf ]; then \$(MAKE) clean; fi \\ - && CFLAGS="\$(CFLAGS)" ./configure \\ + && CFLAGS="\$(CFLAGS)" CC="\$(CC)" ./configure \\ && \$(MAKE) END -- 2.47.3