diff --git a/src/Makefile.am b/src/Makefile.am index 193fe49ced..f7b451e4fd 100755 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1228,6 +1228,8 @@ EXTRA_DIST = \ tests/stream-tcp.c \ tests/output-json-stats.c +EXTRA_CFLAGS = + install-headers: mkdir -p $(DESTDIR)${includedir}/suricata for header in $(noinst_HEADERS); do \ @@ -1422,7 +1424,7 @@ endif # default CFLAGS AM_CFLAGS = ${OPTIMIZATION_CFLAGS} ${GCC_CFLAGS} ${CLANG_CFLAGS} \ - ${SECCFLAGS} ${PCAP_CFLAGS} \ + ${SECCFLAGS} ${PCAP_CFLAGS} ${EXTRA_CFLAGS} \ -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations \ -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast \ -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute \