From 64095b1dfcc2d960025fd5accd3fe8d96d6431d2 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Sat, 21 Apr 2018 20:32:10 +0300 Subject: sys-apps/i2c-tools: respect AR/CFLAGS Closes: https://bugs.gentoo.org/651528 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- sys-apps/i2c-tools/i2c-tools-4.0.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys-apps/i2c-tools/i2c-tools-4.0.ebuild') diff --git a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild index 32dffbf1e2ba..3cd2a7f55086 100644 --- a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild +++ b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild @@ -32,9 +32,9 @@ src_configure() { } src_compile() { - emake all-lib CC=$(tc-getCC) # parallel make + emake all-lib AR=$(tc-getAR) CC=$(tc-getCC) # parallel make emake CC=$(tc-getCC) - emake -C eepromer CC=$(tc-getCC) + emake -C eepromer CC=$(tc-getCC) CFLAGS="${CFLAGS}" if use python ; then cd py-smbus || die append-cppflags -I../include @@ -45,7 +45,7 @@ src_compile() { src_install() { emake install-lib install libdir="${D}"/usr/$(get_libdir) prefix="${D}"/usr dosbin eepromer/eeprom{,er} - rm -rf "${D}"/usr/include # part of linux-headers + rm -rf "${D}"/usr/include || die # part of linux-headers dodoc CHANGES README local d for d in eeprom eepromer ; do -- cgit v1.2.3-65-gdbad