$NetBSD: patch-tools_ocaml_Makefile.rules,v 1.1 2021/01/08 22:08:46 bouyer Exp $ --- tools/ocaml/Makefile.rules.orig 2021-01-08 22:48:10.638776688 +0100 +++ tools/ocaml/Makefile.rules 2021-01-08 22:49:05.627085243 +0100 @@ -34,7 +34,7 @@ $(call quiet-command, $(OCAMLYACC) -q $<,MLYACC,$@) %.o: %.c - $(call quiet-command, $(CC) $(CFLAGS) -c -o $@ $<,CC,$@) + $(call quiet-command, $(CC) $(CFLAGS) -Wno-error=discarded-qualifiers -c -o $@ $<,CC,$@) META: META.in sed 's/@VERSION@/$(VERSION)/g' < $< $o