From 667a761b832619cc8f44fb7db6fe0d04a2d0171f Mon Sep 17 00:00:00 2001 From: sbwml <984419930@qq.com> Date: Sat, 7 Jan 2023 06:08:16 +0800 Subject: [PATCH] test --- ...compatible-pointer-types-compiler-warnings.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/020-incompatible-pointer-types-compiler-warnings.patch diff --git a/patches/020-incompatible-pointer-types-compiler-warnings.patch b/patches/020-incompatible-pointer-types-compiler-warnings.patch new file mode 100644 index 0000000..7df2413 --- /dev/null +++ b/patches/020-incompatible-pointer-types-compiler-warnings.patch @@ -0,0 +1,13 @@ +diff --git a/src/Makefile b/src/Makefile +index 8427ebb..dee1979 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -12,7 +12,7 @@ $(TARGET)-objs := \ + nft_ext_fullcone.o + + # product +-ccflags-y += -Werror -Wall ++ccflags-y += -Werror -Wall -Wno-error=incompatible-pointer-types + + # develop + #ccflags-y += -Wall -Wno-unused-function