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>
This commit is contained in:
+1
-1
@@ -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@
|
||||
|
||||
Reference in New Issue
Block a user