summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-03-14 22:40:18 -0700
committerMike Frysinger <vapier@gentoo.org>2017-03-14 22:41:58 -0700
commitec9e0d08245981acc017e8944d2672793f6a1b33 (patch)
tree159b6f57a56e473b34ea25ab177e677c65cf1936
parentsys-apps/openrc: 0.24.1 version bump (diff)
downloadgentoo-ec9e0d08245981acc017e8944d2672793f6a1b33.tar.gz
gentoo-ec9e0d08245981acc017e8944d2672793f6a1b33.tar.bz2
gentoo-ec9e0d08245981acc017e8944d2672793f6a1b33.zip
sys-apps/lshw: fix parallel build after usex rework #588174
-rw-r--r--sys-apps/lshw/lshw-02.17b-r2.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/lshw/lshw-02.17b-r2.ebuild b/sys-apps/lshw/lshw-02.17b-r2.ebuild
index 14d905904a1..ffd8414595e 100644
--- a/sys-apps/lshw/lshw-02.17b-r2.ebuild
+++ b/sys-apps/lshw/lshw-02.17b-r2.ebuild
@@ -49,7 +49,10 @@ src_compile() {
tc-export CC CXX AR
use static && append-ldflags -static
- emake SQLITE=$(usex sqlite 1 0) all $(usex gtk 'gui' '')
+ # Need two sep make statements to avoid parallel build issues. #588174
+ local sqlite=$(usex sqlite 1 0)
+ emake SQLITE=${sqlite} all
+ use gtk && emake SQLITE=${sqlite} gui
}
src_install() {