diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-25 13:06:48 +0200 |
---|---|---|
committer | Marc Poulhiès <dkm@kataplop.net> | 2023-12-14 13:58:57 +0100 |
commit | 725fb3595622a4ad8cd078a42fab1c395cbf90cb (patch) | |
tree | e39d82737ac19e2638805a470085d55ca15c4b20 /Makefile.def | |
parent | f37c55c14bc1176ef9a15fe584fb6d1bf2e6162f (diff) | |
download | gcc-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 'Makefile.def')
-rw-r--r-- | Makefile.def | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def index ba89d46..3f8962c 100644 --- a/Makefile.def +++ b/Makefile.def @@ -164,6 +164,7 @@ host_modules= { module= libcc1; extra_configure_flags=--enable-shared; }; host_modules= { module= gotools; }; host_modules= { module= libctf; bootstrap=true; }; host_modules= { module= libsframe; bootstrap=true; }; +host_modules= { module= libgrust; }; target_modules = { module= libstdc++-v3; bootstrap=true; @@ -207,6 +208,7 @@ target_modules = { module= libgm2; lib_path=.libs; }; target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; }; target_modules = { module= libitm; lib_path=.libs; }; target_modules = { module= libatomic; bootstrap=true; lib_path=.libs; }; +target_modules = { module= libgrust; }; // These are (some of) the make targets to be done in each subdirectory. // Not all; these are the ones which don't have special options. @@ -669,6 +671,7 @@ dependencies = { module=all-target-libphobos; on=all-target-libatomic; }; dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; }; dependencies = { module=configure-target-libsanitizer; on=all-target-libstdc++-v3; }; dependencies = { module=configure-target-libvtv; on=all-target-libstdc++-v3; }; +dependencies = { module=configure-target-libgrust; on=all-target-libstdc++-v3; }; // parallel_list.o and parallel_settings.o depend on omp.h, which is // generated by the libgomp configure. Unfortunately, due to the use of // recursive make, we can't be that specific. |