Adjust patch so that it works for gcc-10 as well

This commit is contained in:
Jeff Law 2020-10-28 11:45:49 -06:00
parent b9c42614a4
commit fe12778cd2

View File

@ -8,7 +8,7 @@ index 2f323e4..d6bc3c3 100644
fipvlan_LDADD = lib/libutil.a
+# These look like valid warnings, but the code may be fine in practice. Someone
+# with a deeper understanding of the source needs to chime in
+fipvlan_CFLAGS = $(AM_CFLAGS) -Wno-error=array-bounds -Wno-error=stringop-overread
+fipvlan_CFLAGS = $(AM_CFLAGS) -Wno-error=array-bounds -Wno-stringop-overread
+
AUTOMAKE_OPTIONS=subdir-objects