Commit 9752cb7a authored by David Lawrence's avatar David Lawrence
Browse files

Provide a mechanism for passing in C flags at make's run-time:

  user can define EXT_CFLAGS on either the command line or in the environment.
parent 681bd612
......@@ -85,6 +85,8 @@ install clean distclean::
### CINCLUDES
### CDEFINES
### CWARNINGS
### User may define externally
### EXT_CFLAGS
CC = @CC@
CFLAGS = @CFLAGS@
......@@ -103,7 +105,7 @@ ALL_CPPFLAGS = \
${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}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment