Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10795
-gerrit
commit 48bef80c638a2452759458c2511519eddb7d3e9e Author: Patrick Georgi patrick@georgi-clan.de Date: Sat Jul 4 23:28:54 2015 +0200
xcompile: ask for compiler runtime using appropriate CFLAGS
xcompile keeps two CFLAGS around now, for GCC and CLANG. Normally they're not required to request the libgcc/compiler-rt path, but with the multilib capable x86_64-elf target it's required to make it pick the right libgcc when used as i386-elf builder.
Change-Id: I700e7aa5783dc36698dd2ab8a38642a144e80fe9 Signed-off-by: Patrick Georgi patrick@georgi-clan.de --- util/xcompile/xcompile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 1af02ad..d2509db 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -172,9 +172,9 @@ detect_special_flags() {
detect_compiler_runtime() { test -z "$CLANG" || \ - CC_RT_CLANG="`${CLANG} ${CFLAGS} -print-librt-file-name 2>/dev/null`" + CC_RT_CLANG="`${CLANG} ${CFLAGS_CLANG} -print-librt-file-name 2>/dev/null`" test -z "$GCC" || \ - CC_RT_GCC="`${GCC} ${CFLAGS} -print-libgcc-file-name`" + CC_RT_GCC="`${GCC} ${CFLAGS_GCC} -print-libgcc-file-name`" }
report_arch_toolchain() {