[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the search paths.
From: |
guix-commits |
Subject: |
04/09: gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the search paths. |
Date: |
Mon, 12 Oct 2020 12:25:01 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit f848c276f0be22e66b661fe45d60d53fc0013172
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Sep 28 21:07:09 2020 +0200
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.
---
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 4041d5b..0938bc3 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")
- branch master updated (51d3696 -> a2ed00f), guix-commits, 2020/10/12
- 01/09: upgrade: Mention '--do-not-upgrade' in '--help' output., guix-commits, 2020/10/12
- 03/09: substitute: Reduce default narinfo negative TTL to 1h., guix-commits, 2020/10/12
- 02/09: tests: Add missing copyright line., guix-commits, 2020/10/12
- 04/09: gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the search paths.,
guix-commits <=
- 07/09: packages: Add 'package-with-c-toolchain'., guix-commits, 2020/10/12
- 09/09: news: Add entry for '--with-c-toolchain'., guix-commits, 2020/10/12
- 05/09: gnu: clang-toolchain: Add 'GUIX_LOCPATH' to the search paths., guix-commits, 2020/10/12
- 06/09: gnu: clang-toolchain: Create 'cc' and 'c++' symlinks., guix-commits, 2020/10/12
- 08/09: guix build: Add '--with-c-toolchain'., guix-commits, 2020/10/12