diff options
author | Jim Wilson <jimw@sifive.com> | 2018-09-27 10:47:02 -0700 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-09-27 10:47:02 -0700 |
commit | 5f1c2b45695f09046d5858a30dfef8b413d8a9c6 (patch) | |
tree | 5957c469b6c3a247daef1d795cb97643f82ddaee /Makefile.in | |
parent | 79abda85359c6bca125b2bb4d09388bee62aa2ec (diff) | |
download | riscv-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.in | 1 |
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)" \ |