Adjust make build options.
Disable warnings that are triggered by modern versions of gcc.
Change-Id: I1f29caaae86f92f2ba4e652532c2391013b5cf9f
diff --git a/maintMakefile b/maintMakefile
index cab8dd6..c89db7e 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -25,6 +25,10 @@
-Wtype-limits -Wunused-but-set-parameter -Wlogical-op \
-Wignored-qualifiers -Wformat-signedness -Wduplicated-cond
+# Fuchsia-specific flags. getopt.c has some constructs that gcc-6.2.0
+# doesn't care for.
+AM_CFLAGS += -Wno-unused-parameter -Wno-parentheses
+
# Unfortunately the Guile headers are sometimes broken. Convince GCC
# to treat them as system headers so warnings are ignored.
GUILE_CFLAGS := $(patsubst -I%,-isystem %,$(GUILE_CFLAGS))