aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/lib/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in
index 2c1894a91..68b01d561 100644
--- a/src/lib/Makefile.in
+++ b/src/lib/Makefile.in
@@ -17,8 +17,8 @@ includedir = ${prefix}/include/ndpi
ifneq ($(OS),Windows_NT)
CFLAGS += -fPIC -DPIC
endif
-CFLAGS += -I../include -Ithird_party/include -DNDPI_LIB_COMPILATION @CFLAGS@ @GPROF_CFLAGS@ @CUSTOM_NDPI@
-LDFLAGS = @LDFLAGS@
+CFLAGS += -I../include -Ithird_party/include -DNDPI_LIB_COMPILATION @NDPI_CFLAGS@ @GPROF_CFLAGS@ @CUSTOM_NDPI@
+LDFLAGS += @NDPI_LDFLAGS@
LIBS = @ADDITIONAL_LIBS@ @LIBS@ @GPROF_LIBS@
OBJECTS = $(patsubst protocols/%.c, protocols/%.o, $(wildcard protocols/*.c)) $(patsubst third_party/src/%.c, third_party/src/%.o, $(wildcard third_party/src/*.c)) $(patsubst ./%.c, ./%.o, $(wildcard ./*.c))