commit:     309fdf84e1a9ec76120a4674f773b44d2f0ee264
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 15:59:56 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=309fdf84

www-client/firefox: show flags to aid debugging

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

 www-client/firefox/firefox-78.3.1.ebuild    | 10 ++++++++++
 www-client/firefox/firefox-81.0.1-r1.ebuild | 10 ++++++++++
 2 files changed, 20 insertions(+)

diff --git a/www-client/firefox/firefox-78.3.1.ebuild 
b/www-client/firefox/firefox-78.3.1.ebuild
index 68d1fd3ca2b..99f7f8951b9 100644
--- a/www-client/firefox/firefox-78.3.1.ebuild
+++ b/www-client/firefox/firefox-78.3.1.ebuild
@@ -491,6 +491,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
@@ -765,6 +770,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
 

diff --git a/www-client/firefox/firefox-81.0.1-r1.ebuild 
b/www-client/firefox/firefox-81.0.1-r1.ebuild
index 9f2968716fb..8ec1f4d60eb 100644
--- a/www-client/firefox/firefox-81.0.1-r1.ebuild
+++ b/www-client/firefox/firefox-81.0.1-r1.ebuild
@@ -491,6 +491,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
@@ -765,6 +770,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