From 0588441516460732ac5d63bf013d6f8591763320 Mon Sep 17 00:00:00 2001 From: Daniel Santos Date: Tue, 8 Jan 2019 06:48:03 -0600 Subject: [PATCH] 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 --- libs/classpath/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/classpath/Makefile b/libs/classpath/Makefile index 39a8dbcb71..9eed414f80 100644 --- a/libs/classpath/Makefile +++ b/libs/classpath/Makefile @@ -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 \ -- 2.30.2