mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-text/htmldoc: respect system toolchain settings
If CC and CXX variables are not exported to configure, it ignores system toolchain setup and forces its own compiler preferences, where clang/clang++ are on the first place if found. This is likely not what users want and causes configure failure if CFLAGS/CXXFLAGS contain flag(s) not supported by clang, but supported by gcc. Package-Manager: portage-2.3.0_rc1 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit eutils
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Convert HTML pages into a PDF document"
|
||||
SRC_URI="http://www.msweet.org/files/project1/${P}-source.tar.bz2"
|
||||
@@ -36,6 +36,7 @@ src_prepare() {
|
||||
src_configure() {
|
||||
local myconf="$(use_with fltk gui)"
|
||||
|
||||
CC=$(tc-getCC) CXX=$(tc-getCXX) \
|
||||
econf ${myconf}
|
||||
# Add missing -lfltk_images to LIBS
|
||||
if use fltk; then
|
||||
|
||||
Reference in New Issue
Block a user