commit:     951df5887870696c0ff41060bce7c27192ddff69
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 15:59:19 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 17:40:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=951df588

mail-client/thunderbird: show flags to aid debugging

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 mail-client/thunderbird/thunderbird-78.3.2.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/mail-client/thunderbird/thunderbird-78.3.2.ebuild 
b/mail-client/thunderbird/thunderbird-78.3.2.ebuild
index 89ae20bf62c..72378be0591 100644
--- a/mail-client/thunderbird/thunderbird-78.3.2.ebuild
+++ b/mail-client/thunderbird/thunderbird-78.3.2.ebuild
@@ -480,6 +480,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # Show flags set at the beginning
+       einfo "Current CFLAGS:    ${CFLAGS}"
+       einfo "Current LDFLAGS:   ${LDFLAGS}"
+       einfo "Current RUSTFLAGS: ${RUSTFLAGS}"
+
        local have_switched_compiler=
        if use clang && ! tc-is-clang ; then
                # Force clang
@@ -751,6 +756,11 @@ src_configure() {
        # Set build dir
        mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
 
+       # Show flags we will use
+       einfo "Build CFLAGS:    ${CFLAGS}"
+       einfo "Build LDFLAGS:   ${LDFLAGS}"
+       einfo "Build RUSTFLAGS: ${RUSTFLAGS}"
+
        # Handle EXTRA_CONF and show summary
        local ac opt hash reason
 

Reply via email to