From: Davide Pesavento Date: Sun, 12 Jun 2016 22:50:57 +0000 (+0200) Subject: qt5-build.eclass: tweak sed expression to also apply to 5.6.1 and later X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=cafc42c9bb93c9ffd6de7e2a557bd7306f017fea;p=gentoo.git qt5-build.eclass: tweak sed expression to also apply to 5.6.1 and later --- diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 9b1a4ab23bf6..5c3acd8e9e8f 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -199,7 +199,7 @@ qt5-build_src_prepare() { # Respect toolchain and flags in config.tests find config.tests/unix -name '*.test' -type f -execdir \ - sed -i -re '/(bin\/qmake|QMAKE")/ s/-nocache //' '{}' + || die + sed -i -e 's/-nocache //' '{}' + || die # Don't inject -msse/-mavx/... into CXXFLAGS when detecting # compiler support for extended instruction sets (bug 552942)