aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/base.scm
diff options
context:
space:
mode:
authorCarl Dong <accounts@carldong.me>2019-05-13 16:02:13 -0400
committerCarl Dong <contact@carldong.me>2019-07-16 11:13:15 -0400
commit6869b6635afd93872b8f0d9f2db0db4c0d765a86 (patch)
tree01f98c54bb1b66015008a4e5d34d4ec852e077b4 /gnu/packages/base.scm
parentd4cafcaf30d3d82b89e87dc7acc9905083b39d03 (diff)
downloadpatches-6869b6635afd93872b8f0d9f2db0db4c0d765a86.tar
patches-6869b6635afd93872b8f0d9f2db0db4c0d765a86.tar.gz
gnu: Allow building toolchain with non-default libc.
* gnu/packages/base.scm (make-gcc-libc): Make public. * gnu/packages/commencement.scm (make-gcc-toolchain): Add 'libc' optional argument to specify using a non-default glibc package, also make public.
Diffstat (limited to 'gnu/packages/base.scm')
-rw-r--r--gnu/packages/base.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 90dd69cfa3..d984ebe1eb 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -1009,7 +1009,7 @@ with the Linux kernel.")
(("/bin/pwd") "pwd"))
#t))))))))
-(define (make-gcc-libc base-gcc libc)
+(define-public (make-gcc-libc base-gcc libc)
"Return a GCC that targets LIBC."
(package (inherit base-gcc)
(name (string-append (package-name base-gcc) "-"