summaryrefslogtreecommitdiffstats
path: root/plugins/gcc7/gcc7-overlay.mk
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gcc7/gcc7-overlay.mk')
-rw-r--r--plugins/gcc7/gcc7-overlay.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/gcc7/gcc7-overlay.mk b/plugins/gcc7/gcc7-overlay.mk
index e174ed3..6e5269b 100644
--- a/plugins/gcc7/gcc7-overlay.mk
+++ b/plugins/gcc7/gcc7-overlay.mk
@@ -23,3 +23,9 @@ $(PKG)_SUBDIR := gcc-$($(PKG)_VERSION)
$(PKG)_FILE := gcc-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := https://ftp.gnu.org/gnu/gcc/gcc-$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_PATCHES := $(dir $(lastword $(MAKEFILE_LIST)))/gcc7.patch
+
+# set these in respective makefiles when gcc7 becomes default
+# and leave them blank for gcc5 plugin
+libssh_EXTRA_WARNINGS = -Wno-error=implicit-fallthrough
+gtkimageview_EXTRA_WARNINGS = -Wno-error=misleading-indentation
+guile_EXTRA_WARNINGS = -Wno-error=misleading-indentation