From: Roman Arutyunyan Date: Wed, 23 Sep 2015 13:26:41 +0000 (+0300) Subject: nJS should be built by the same compiler as nginx. X-Git-Tag: 0.1.0~130 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=c5f6b96f42b390ce0e753730375addaddd0362de;p=njs.git nJS should be built by the same compiler as nginx. --- 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