aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-25 13:06:48 +0200
committerMarc Poulhiès <dkm@kataplop.net>2023-12-14 13:58:57 +0100
commit725fb3595622a4ad8cd078a42fab1c395cbf90cb (patch)
treee39d82737ac19e2638805a470085d55ca15c4b20 /gcc
parentf37c55c14bc1176ef9a15fe584fb6d1bf2e6162f (diff)
downloadgcc-725fb3595622a4ad8cd078a42fab1c395cbf90cb.zip
gcc-725fb3595622a4ad8cd078a42fab1c395cbf90cb.tar.gz
gcc-725fb3595622a4ad8cd078a42fab1c395cbf90cb.tar.bz2
build: Add libgrust as compilation modules
Define the libgrust directory as a host compilation module as well as for targets. Disable target libgrust if we're not building target libstdc++. ChangeLog: * Makefile.def: Add libgrust as host & target module. * configure.ac: Add libgrust to host tools list. Add libgrust to noconfigdirs if we're not building target libstdc++. * Makefile.in: Regenerate. * configure: Regenerate. gcc/rust/ChangeLog: * config-lang.in: Add libgrust as a target module for the rust language. Co-authored-by: Thomas Schwinge <thomas@codesourcery.com> Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/config-lang.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rust/config-lang.in b/gcc/rust/config-lang.in
index aac66c9..5c9ffcd 100644
--- a/gcc/rust/config-lang.in
+++ b/gcc/rust/config-lang.in
@@ -29,4 +29,7 @@ compilers="rust1\$(exeext)"
build_by_default="no"
+target_libs="target-libgrust"
+lang_dirs=libgrust
+
gtfiles="\$(srcdir)/rust/rust-lang.cc"