[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43679] [PATCH v2 1/5] gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the
From: |
Ludovic Courtès |
Subject: |
[bug#43679] [PATCH v2 1/5] gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the search paths. |
Date: |
Fri, 9 Oct 2020 11:12:27 +0200 |
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.
---
gnu/packages/commencement.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 4041d5bb89..0938bc3d46 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -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")
--
2.28.0
- [bug#43679] [PATCH v2 0/5] Add '--with-c-toolchain', Ludovic Courtès, 2020/10/09
- [bug#43679] [PATCH v2 1/5] gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the search paths.,
Ludovic Courtès <=
- [bug#43679] [PATCH v2 2/5] gnu: clang-toolchain: Add 'GUIX_LOCPATH' to the search paths., Ludovic Courtès, 2020/10/09
- [bug#43679] [PATCH v2 3/5] gnu: clang-toolchain: Create 'cc' and 'c++' symlinks., Ludovic Courtès, 2020/10/09
- [bug#43679] [PATCH v2 4/5] packages: Add 'package-with-c-toolchain'., Ludovic Courtès, 2020/10/09
- [bug#43679] [PATCH v2 5/5] guix build: Add '--with-c-toolchain'., Ludovic Courtès, 2020/10/09
- bug#43679: [PATCH v2 0/5] Add '--with-c-toolchain', Ludovic Courtès, 2020/10/12