From fa4a0054f7ea1bc85c9ea00e9ad9a95ea536ead0 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 29 May 2017 11:36:33 +0100 Subject: [PATCH] app-emulation/lxc: disable -Werror, fixes build failure on gcc-7.1 On gcc-7.1 build fails as a result of both more warnings from gcc (implicit fallthrough) and a format truncation gcc bug: https://gcc.gnu.org/PR78969#c4 Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- app-emulation/lxc/lxc-2.0.7.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/app-emulation/lxc/lxc-2.0.7.ebuild b/app-emulation/lxc/lxc-2.0.7.ebuild index 76107348b4d3..4266cc4ebf04 100644 --- a/app-emulation/lxc/lxc-2.0.7.ebuild +++ b/app-emulation/lxc/lxc-2.0.7.ebuild @@ -132,6 +132,7 @@ src_configure() { --with-distro=gentoo \ --with-runtime-path=/run \ --disable-apparmor \ + --disable-werror \ $(use_enable cgmanager) \ $(use_enable doc) \ $(use_enable examples) \ -- 2.26.2