M7350/oe-core/meta-msm/recipes/pimd/files/no-deprecated-declarations.patch
2024-09-09 08:57:42 +00:00

14 lines
532 B
Diff

diff --git a/Makefile b/Makefile
index 312dc30..73f28f9 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ include snmp.mk
## Common
CFLAGS += $(MCAST_INCLUDE) $(SNMPDEF) $(RSRRDEF) $(INCLUDES) $(DEFS) $(USERCOMPILE)
-CFLAGS += -O2 -W -Wall -Werror -fno-strict-aliasing
+CFLAGS += -O2 -W -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing
#CFLAGS += -O -g
LDLIBS = $(SNMPLIBDIR) $(SNMPLIBS) $(EXTRA_LIBS)
OBJS = $(IGMP_OBJS) $(ROUTER_OBJS) $(PIM_OBJS) $(DVMRP_OBJS) \