diff options
Diffstat (limited to 'sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild')
-rw-r--r-- | sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild b/sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild index da55fc5ae41c..538aad5ced37 100644 --- a/sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild +++ b/sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -16,6 +16,8 @@ KEYWORDS="amd64 arm arm64 hppa sparc x86" src_prepare() { sed -i 's/-Werror //' "${S}/src/Makefile" || die + sed -i 's/-Werror //' "${S}/test/Makefile" || die + # Bug #617624 (GCC-6 compatibility) sed -i 's/-Wno-nonnull-compare //' "${S}/src/Makefile" || die @@ -35,7 +37,7 @@ multilib_src_compile() { } multilib_src_test() { - multilib_is_native_abi && emake test + multilib_is_native_abi && emake CC="$(tc-getCC)" test } multilib_src_install() { |