app-emulation/lxc: disable -Werror, fixes build failure on gcc-7.1
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 29 May 2017 10:36:33 +0000 (11:36 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 29 May 2017 13:45:53 +0000 (14:45 +0100)
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

index 76107348b4d321a1a07d15fcddbaa2b1dd22eb93..4266cc4ebf04fc502fa72fe65178ec16619b930a 100644 (file)
@@ -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) \