summaryrefslogtreecommitdiffstats
path: root/plugins/gcc7
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-08-14 06:44:31 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-08-15 02:57:09 (GMT)
commita1f5c6852cfce8978f0e3734db297a0e25a0bade (patch)
tree64fc0493075240586687597f28cd891929f57743 /plugins/gcc7
parent47a2424cf890c1efef1e8bbf0bd61c28d43412c3 (diff)
downloadmxe-a1f5c6852cfce8978f0e3734db297a0e25a0bade.zip
mxe-a1f5c6852cfce8978f0e3734db297a0e25a0bade.tar.gz
mxe-a1f5c6852cfce8978f0e3734db297a0e25a0bade.tar.bz2
gtkimageview guile libssh: fix gcc5 unrecognised options
Diffstat (limited to 'plugins/gcc7')
-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