aboutsummaryrefslogtreecommitdiff
path: root/influxdb/Makefile.in
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2022-07-13 19:44:18 +0200
committerGitHub <noreply@github.com>2022-07-13 19:44:18 +0200
commit7c19de49047a5731f3107ff17854e9afe839cc61 (patch)
tree82b3c52661fcfc6493eb54f280c7a0be4e6154ee /influxdb/Makefile.in
parentae2bedce3aa151d55e7bce46188d206f9fe0abec (diff)
Do not interfere with CFLAGS/LDFLAGS env anymore. (#1659)
* CI fixes * some build systems do not like that (e.g. OpenWrt) * fixed some rrdtool related build warnings/errors Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'influxdb/Makefile.in')
-rw-r--r--influxdb/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/influxdb/Makefile.in b/influxdb/Makefile.in
index 14113476b..26466e43e 100644
--- a/influxdb/Makefile.in
+++ b/influxdb/Makefile.in
@@ -1,7 +1,8 @@
CC=@CC@
INC=-I ../src/include -I/usr/local/include
LIBDPI=../src/lib/libndpi.a
-LDFLAGS=@LDFLAGS@
+CFLAGS+=@NDPI_CFLAGS@
+LDFLAGS+=@NDPI_LDFLAGS@
LIB=$(LIBDPI) -lm @ADDITIONAL_LIBS@ @LIBS@
TOOLS=metric_anomaly
@@ -9,7 +10,7 @@ TOOLS=metric_anomaly
all: $(TOOLS)
metric_anomaly: metric_anomaly.c Makefile $(LIBDPI)
- $(CC) $(CPPFLAGS) -g $(INC) $(LDFLAGS) metric_anomaly.c -o metric_anomaly $(LIB)
+ $(CC) $(CFLAGS) $(CPPFLAGS) -g $(INC) $(LDFLAGS) metric_anomaly.c -o metric_anomaly $(LIB)
clean:
/bin/rm -f *.o $(TOOLS) *~