classpath: Fix breakage caused by -Werror=implicit-fallthrough

classpath builds with -Wextra and, unless configured with
--disable-werror, -Werror.  Since GCC 7 added -Wimplicit-fallthrough=3
to -Wextra we need to make it not an error for code that doesn't use
__attribute__((fallthrough)) yet.

Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
This commit is contained in:
Daniel Santos 2019-01-08 06:48:03 -06:00
parent 8cfbcfd757
commit 0588441516

View file

@ -50,6 +50,7 @@ define Download/antlr
endef
$(eval $(call Download,antlr))
EXTRA_CFLAGS += -Wno-error=implicit-fallthrough
CONFIGURE_ARGS += \
--with-gmp="$(STAGING_DIR)/usr" \
--without-x \