gnu: cross-gcc: Add a "lib" output.

Add a "lib" output to cross-gcc. This requires an upstream GCC patch adding
support for --with-toolexeclibdir configure option. This option allows to
install cross-built GCC libraries in a specific location.

This also fixes the computation of TOOLDIR_BASE_PREFIX, that fails when
/gnu/store/... directories are involved.

* gnu/packages/patches/gcc-7-cross-toolexeclibdir.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/cross-base.scm (cross-gcc)[source]: Apply it,
[outputs]: add a "lib" output,
(cross-gcc-snippet): fix TOOLDIR_BASE_PREFIX.
This commit is contained in:
Mathieu Othacehe 2020-03-14 11:39:52 +01:00
parent 2e9c43aa9a
commit 53de3e74fa
No known key found for this signature in database
GPG key ID: 8354763531769CA6
3 changed files with 1083 additions and 22 deletions

File diff suppressed because it is too large Load diff