mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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:
@@ -50,6 +50,7 @@ define Download/antlr
|
|||||||
endef
|
endef
|
||||||
$(eval $(call Download,antlr))
|
$(eval $(call Download,antlr))
|
||||||
|
|
||||||
|
EXTRA_CFLAGS += -Wno-error=implicit-fallthrough
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--with-gmp="$(STAGING_DIR)/usr" \
|
--with-gmp="$(STAGING_DIR)/usr" \
|
||||||
--without-x \
|
--without-x \
|
||||||
|
|||||||
Reference in New Issue
Block a user