-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-inherit autotools sgml-catalog eutils flag-o-matic multilib
+inherit autotools sgml-catalog eutils flag-o-matic multilib toolchain-funcs
DESCRIPTION="Jade is an implementation of DSSSL for formatting SGML and XML documents"
HOMEPAGE="http://openjade.sourceforge.net"
# avoids dead-store elimination optimization
# leading to segfaults on GCC 6
# bug #592590 #596506
- append-cxxflags $(test-flags-CXX -fno-lifetime-dse)
+ tc-is-clang || append-cxxflags $(test-flags-CXX -fno-lifetime-dse)
# We need Prefix env, bug #287358
export CONFIG_SHELL="${CONFIG_SHELL:-${BASH}}"