summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-03-30 12:15:40 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-03-30 12:43:07 +0100
commit6d6e12f917c0473908393d45b1baee1d36931fed (patch)
tree451c3e39d7b74e3ab04a23eb830b680679bdf9d0 /eclass
parentsys-apps/sysvinit: Bump to version 2.89 (diff)
downloadgentoo-6d6e12f917c0473908393d45b1baee1d36931fed.tar.gz
gentoo-6d6e12f917c0473908393d45b1baee1d36931fed.tar.bz2
gentoo-6d6e12f917c0473908393d45b1baee1d36931fed.zip
toolchain-glibc.eclass: log when eclass overrides CC/CFLAGS
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-glibc.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
index f58b44bcfff2..bd10f2cbbe40 100644
--- a/eclass/toolchain-glibc.eclass
+++ b/eclass/toolchain-glibc.eclass
@@ -363,6 +363,7 @@ setup_env() {
# and fall back on CFLAGS.
local VAR=CFLAGS_${CTARGET//[-.]/_}
CFLAGS=${!VAR-${CFLAGS}}
+ einfo " $(printf '%15s' 'Manual CFLAGS:') ${CFLAGS}"
fi
setup_flags
@@ -376,6 +377,7 @@ setup_env() {
# top of each other.
: ${__GLIBC_CC:=$(tc-getCC ${CTARGET_OPT:-${CTARGET}})}
export __GLIBC_CC CC="${__GLIBC_CC} ${!VAR}"
+ einfo " $(printf '%15s' 'Manual CC:') ${CC}"
}
foreach_abi() {