Commit 505373ad authored by Dag Haavi Finstad's avatar Dag Haavi Finstad Committed by Dridi Boukelmoune

Fix libvgz build error on gcc7

This adds -Wno-implicit-fallthrough for libvgz to satisfy gcc7.

The -Wno-unknown-warning-option is there to satisfy older gcc/clang that
don't recognize -Wno-implicit-fallthrough.
parent 3ada3052
......@@ -261,6 +261,11 @@ if test "$ac_cv_have_viz" = no; then
fi
CFLAGS="${save_CFLAGS}"
if test "x$GCC" = "xyes"; then
libvgz_extra_cflags="${libvgz_extra_cflags} -Wno-unknown-warning-option -Wno-implicit-fallthrough"
AC_SUBST(libvgz_extra_cflags)
fi
SAN_CFLAGS=
SAN_LDFLAGS=
UBSAN_CFLAGS=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment