commit: 3b0e5e3d45daef36c94729f2dda9a3f83a38b827 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> AuthorDate: Sat Jul 11 21:39:53 2020 +0000 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> CommitDate: Sat Jul 11 21:42:10 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b0e5e3d
www-servers/lighttpd: respect CC_FOR_BUILD Closes: https://bugs.gentoo.org/show_bug.cgi?id=732260 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> www-servers/lighttpd/lighttpd-1.4.55.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www-servers/lighttpd/lighttpd-1.4.55.ebuild b/www-servers/lighttpd/lighttpd-1.4.55.ebuild index 691b80ba1c6..a2bba42a2ca 100644 --- a/www-servers/lighttpd/lighttpd-1.4.55.ebuild +++ b/www-servers/lighttpd/lighttpd-1.4.55.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools flag-o-matic readme.gentoo-r1 systemd +inherit autotools flag-o-matic readme.gentoo-r1 systemd toolchain-funcs DESCRIPTION="Lightweight high-performance web server" HOMEPAGE="https://www.lighttpd.net https://github.com/lighttpd" @@ -118,7 +118,9 @@ src_prepare() { } src_configure() { - econf --libdir=/usr/$(get_libdir)/${PN} \ + econf \ + CC_FOR_BUILD=$(tc-getBUILD_CC) \ + --libdir=/usr/$(get_libdir)/${PN} \ --enable-lfs \ $(use_enable ipv6) \ $(use_enable mmap) \
