3
4
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the search paths.

This allows 'gcc-toolchain' to be used as a drop-in replacement for the
default tool chain through '--with-toolchain=gcc-toolchain'.

* gnu/packages/commencement.scm (make-gcc-toolchain)[native-search-paths]
[search-paths]: Append LIBC's search paths.
This commit is contained in:
Ludovic Courtès 2020-09-28 21:07:09 +02:00
parent 099d709caf
commit f848c276f0
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3856,8 +3856,12 @@ COREUTILS-FINAL vs. COREUTILS, etc."
"libc-static")))
#t))))
(native-search-paths (package-native-search-paths gcc))
(search-paths (package-search-paths gcc))
(native-search-paths
(append (package-native-search-paths gcc)
(package-native-search-paths libc))) ;GUIX_LOCPATH
(search-paths
(append (package-search-paths gcc)
(package-search-paths libc)))
(license (package-license gcc))
(synopsis "Complete GCC tool chain for C/C++ development")