summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/make5
1 files changed, 4 insertions, 1 deletions
diff --git a/auto/make b/auto/make
index 28f8bec5..2788b9f5 100644
--- a/auto/make
+++ b/auto/make
@@ -20,7 +20,8 @@ PP_SED := @echo ' SED '
CC = $CC
AR = $AR
-CFLAGS = $NXT_CFLAGS $NXT_CC_OPT $CFLAGS
+EXTRA_CFLAGS =
+CFLAGS = $NXT_CFLAGS $NXT_CC_OPT $CFLAGS \$(EXTRA_CFLAGS)
NXT_EXEC_LINK = $NXT_EXEC_LINK $NXT_LD_OPT
NXT_SHARED_LOCAL_LINK = $NXT_SHARED_LOCAL_LINK $NXT_LD_OPT
@@ -548,6 +549,8 @@ help:
@echo " make D=1 ... - Enables debug builds (-O0)"
@echo " make E=0 ... - Disables -Werror"
@echo
+ @echo " make EXTRA_CFLAGS= ... - Add extra compiler options"
+ @echo
@echo " Variables can be combined."
END