1 |
commit: 6d6e12f917c0473908393d45b1baee1d36931fed |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 30 11:15:40 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 30 11:43:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d6e12f9 |
7 |
|
8 |
toolchain-glibc.eclass: log when eclass overrides CC/CFLAGS |
9 |
|
10 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
11 |
|
12 |
eclass/toolchain-glibc.eclass | 2 ++ |
13 |
1 file changed, 2 insertions(+) |
14 |
|
15 |
diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass |
16 |
index f58b44bcfff..bd10f2cbbe4 100644 |
17 |
--- a/eclass/toolchain-glibc.eclass |
18 |
+++ b/eclass/toolchain-glibc.eclass |
19 |
@@ -363,6 +363,7 @@ setup_env() { |
20 |
# and fall back on CFLAGS. |
21 |
local VAR=CFLAGS_${CTARGET//[-.]/_} |
22 |
CFLAGS=${!VAR-${CFLAGS}} |
23 |
+ einfo " $(printf '%15s' 'Manual CFLAGS:') ${CFLAGS}" |
24 |
fi |
25 |
|
26 |
setup_flags |
27 |
@@ -376,6 +377,7 @@ setup_env() { |
28 |
# top of each other. |
29 |
: ${__GLIBC_CC:=$(tc-getCC ${CTARGET_OPT:-${CTARGET}})} |
30 |
export __GLIBC_CC CC="${__GLIBC_CC} ${!VAR}" |
31 |
+ einfo " $(printf '%15s' 'Manual CC:') ${CC}" |
32 |
} |
33 |
|
34 |
foreach_abi() { |