aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2018-09-27 10:47:02 -0700
committerJim Wilson <jimw@sifive.com>2018-09-27 10:47:02 -0700
commit5f1c2b45695f09046d5858a30dfef8b413d8a9c6 (patch)
tree5957c469b6c3a247daef1d795cb97643f82ddaee /Makefile.in
parent79abda85359c6bca125b2bb4d09388bee62aa2ec (diff)
downloadriscv-gnu-toolchain-5f1c2b45695f09046d5858a30dfef8b413d8a9c6.zip
riscv-gnu-toolchain-5f1c2b45695f09046d5858a30dfef8b413d8a9c6.tar.gz
riscv-gnu-toolchain-5f1c2b45695f09046d5858a30dfef8b413d8a9c6.tar.bz2
Define CXX for glibc builds.
FSF glibc now has a C++ file, so this is needed to make builds work with upstream glibc.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index a6dc2b6..ccf1c82 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -237,6 +237,7 @@ endif
mkdir $(notdir $@)
cd $(notdir $@) && \
CC="$(GLIBC_CC_FOR_TARGET) $($@_CFLAGS)" \
+ CXX="$(GLIBC_CXX_FOR_TARGET) $($@_CFLAGS)" \
CFLAGS="$(CFLAGS_FOR_TARGET) -g -O2 $($@_CFLAGS)" \
CXXFLAGS="$(CXXFLAGS_FOR_TARGET) -g -O2 $($@_CFLAGS)" \
ASFLAGS="$(ASFLAGS_FOR_TARGET) $($@_CFLAGS)" \