We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f990d commit 38bf681Copy full SHA for 38bf681
src/fastnetmon_install.pl
@@ -742,6 +742,11 @@ sub install_json_c {
742
} else {
743
exec_command("sed -i '355 s#^#//#' json_tokener.c");
744
exec_command("sed -i '360 s#^#//#' json_tokener.c");
745
+
746
+ # Workaround complaints from fresh compilers
747
+ if ($distro_type eq 'ubuntu' && $distro_version eq '18.04') {
748
+ exec_command("sed -i -e '381 s/AM_CFLAGS =/AM_CFLAGS = -Wimplicit-fallthrough=0/ ' Makefile.in");
749
+ }
750
}
751
752
print "Build it\n";
0 commit comments