summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/rules.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/make/rules.in b/make/rules.in
index 5d199459..62a3c4b2 100644
--- a/make/rules.in
+++ b/make/rules.in
@@ -85,6 +85,8 @@ install clean distclean::
### CINCLUDES
### CDEFINES
### CWARNINGS
+### User may define externally
+### EXT_CFLAGS
CC = @CC@
CFLAGS = @CFLAGS@
@@ -100,10 +102,10 @@ ALWAYS_DEFINES = -D_REENTRANT
ALWAYS_WARNINGS =
ALL_CPPFLAGS = \
- ${ALWAYS_INCLUDES} ${STD_CINCLUDES} ${CINCLUDES} \
- ${ALWAYS_DEFINES} ${STD_CDEFINES} ${CDEFINES}
+ ${ALWAYS_INCLUDES} ${CINCLUDES} ${STD_CINCLUDES} \
+ ${ALWAYS_DEFINES} ${CDEFINES} ${STD_CDEFINES}
-ALL_CFLAGS = ${CFLAGS} \
+ALL_CFLAGS = ${EXT_CFLAGS} ${CFLAGS} \
${ALL_CPPFLAGS} \
${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}