summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-01-24 19:25:32 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-01-24 19:25:32 +0300
commit6886b83c1f3bfdc514d58ad6e9ab40873cafcb54 (patch)
tree1265912745dbfc608c5efc0c708cba99e1675113
parent4d3a5f24c1ebce15bed84744c5d7e727561467be (diff)
downloadunit-6886b83c1f3bfdc514d58ad6e9ab40873cafcb54.tar.gz
unit-6886b83c1f3bfdc514d58ad6e9ab40873cafcb54.tar.bz2
Now CFLAGS variable allows to overwrite configured options.
Diffstat (limited to '')
-rw-r--r--auto/make2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/make b/auto/make
index 6fe76d2f..7d3bcb35 100644
--- a/auto/make
+++ b/auto/make
@@ -14,7 +14,7 @@ cat << END > $NXT_MAKEFILE
CC = $CC
-CFLAGS = $CFLAGS $NXT_CFLAGS $NXT_CC_OPT
+CFLAGS = $NXT_CFLAGS $NXT_CC_OPT $CFLAGS
NXT_EXEC_LINK = $NXT_EXEC_LINK $NXT_LD_OPT
NXT_SHARED_LOCAL_LINK = $NXT_SHARED_LOCAL_LINK $NXT_LD_OPT