aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2024-04-04 13:51:27 +0200
committerGitHub <noreply@github.com>2024-04-04 13:51:27 +0200
commit6e61368cd609899048560405ad792705fffb1f1a (patch)
tree2d472479b69bc9637fb7e89d9641a8f8837f2170 /src
parentdface63157f53a0a22b7e98f6a9bb0aaba30972e (diff)
Add `-Wno-unused-function` as CFLAG for `third_party/src/gcrypt_light.c`. (#2364)
* fixes failing nDPI build from an external project with clang and `-Wextra` Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in
index fbc630683..fe74f58b7 100644
--- a/src/lib/Makefile.in
+++ b/src/lib/Makefile.in
@@ -18,7 +18,7 @@ ifneq ($(OS),Windows_NT)
CFLAGS += -fPIC -DPIC
endif
CFLAGS += -I. -I../include -Ithird_party/include -DNDPI_LIB_COMPILATION @NDPI_CFLAGS@ @GPROF_CFLAGS@ @CUSTOM_NDPI@ @ADDITIONAL_INCS@
-CFLAGS_third_party/src/gcrypt_light.c := -Wno-unused-parameter
+CFLAGS_third_party/src/gcrypt_light.c := -Wno-unused-function -Wno-unused-parameter
CFLAGS_third_party/src/ahocorasick.c := -Wno-unused-function -Wno-unused-parameter
CFLAGS_third_party/src/roaring.c := -Wno-unused-function -Wno-attributes
LDFLAGS += @NDPI_LDFLAGS@