From 653f64b16de106faa180535d7bda8a57a43448ad Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Fri, 5 Jan 2018 08:43:16 -0800 Subject: [PATCH] Set CC_FOR_TARGET when configuring cross binutils. This is required to make the ld testsuite work correctly, as some tests require a compiler. --- Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 4fdc9593..74304e32 100644 --- a/Makefile.in +++ b/Makefile.in @@ -151,7 +151,8 @@ patches: $(addprefix $(srcdir)/patches/,$(PACKAGES)) stamps/build-binutils-linux: $(srcdir)/riscv-binutils-gdb rm -rf $@ $(notdir $@) mkdir $(notdir $@) - cd $(notdir $@) && $