dev-lang/ispc: remove -Werror (bug #604732, #595254)
authorChristoph Junghans <junghans@gentoo.org>
Fri, 29 Sep 2017 22:39:58 +0000 (16:39 -0600)
committerChristoph Junghans <junghans@gentoo.org>
Fri, 29 Sep 2017 22:40:43 +0000 (16:40 -0600)
Package-Manager: Portage-2.3.8, Repoman-2.3.1

dev-lang/ispc/ispc-1.9.1.ebuild

index 3c7b498b69142c3b5cdca1794af3b6cd23dab90b..72e2ab831c83c283fa6810928503663db696778a 100644 (file)
@@ -35,7 +35,8 @@ DEPEND="
        "
 
 src_compile() {
-       sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") verbose
+       #make all slient commands ("@") verbose and remove -Werror (ispc/ispc#1295)
+       sed -e '/^\t@/s/@//' -e 's/-Werror//' -i Makefile || die
        emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" CPP="$(tc-getCPP)"
 }