summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-07-12 00:39:53 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-07-12 00:42:10 +0300
commit3b0e5e3d45daef36c94729f2dda9a3f83a38b827 (patch)
treed54b5bb10b7dc81b7ad70b65dba0c47ca4f8bca9 /www-servers
parentsys-apps/groff: s390 stable (bug #704420) (diff)
downloadgentoo-3b0e5e3d45daef36c94729f2dda9a3f83a38b827.tar.gz
gentoo-3b0e5e3d45daef36c94729f2dda9a3f83a38b827.tar.bz2
gentoo-3b0e5e3d45daef36c94729f2dda9a3f83a38b827.zip
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@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/lighttpd/lighttpd-1.4.55.ebuild6
1 files 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 691b80ba1c6e..a2bba42a2ca4 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) \