chiark / gitweb /
Support caller simply setting CFLAGS
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Dec 2015 01:46:34 +0000 (01:46 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Dec 2015 01:46:34 +0000 (01:46 +0000)
Makefile.am
Makefile.in

index b1579cd..7badc29 100644 (file)
@@ -37,7 +37,7 @@ WARNINGS= \
        -Wmissing-format-attribute -Wredundant-decls -Wnested-externs \
        -Wno-pointer-sign
 
-CFLAGS = @CFLAGS@ $(WARNINGS) $(WERROR) $(CMDLINE_CFLAGS)
+AM_CFLAGS = $(WARNINGS) $(WERROR) $(CMDLINE_CFLAGS)
 
 bin_PROGRAMS = innduct
 bin_SCRIPTS = innduct-stats-report innduct-forall
index ec9eb3d..779c03c 100644 (file)
@@ -246,7 +246,7 @@ AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@ $(WARNINGS) $(WERROR) $(CMDLINE_CFLAGS)
+CFLAGS = @CFLAGS@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CYGPATH_W = @CYGPATH_W@
@@ -336,6 +336,7 @@ WARNINGS = \
        -Wmissing-format-attribute -Wredundant-decls -Wnested-externs \
        -Wno-pointer-sign
 
+AM_CFLAGS = $(WARNINGS) $(WERROR) $(CMDLINE_CFLAGS)
 bin_SCRIPTS = innduct-stats-report innduct-forall
 man_MANS = innduct.8 innduct-stats-report.8
 innduct_SOURCES = duct.c conn.c filemon.c infile.c recv.c xmit.c \