diff options
author | Josselin Poiret <dev@jpoiret.xyz> | 2023-05-04 21:50:37 +0200 |
---|---|---|
committer | Josselin Poiret <dev@jpoiret.xyz> | 2023-08-25 14:35:22 +0200 |
commit | 6c447ababfb11581a75cff8281e96f701e216692 (patch) | |
tree | ed91d00f84af320ce62e1a5538855065e33d2def /gnu/packages/commencement.scm | |
parent | 106ad23ae44c34f275b8857cfdac2356d5962e6a (diff) | |
download | guix-6c447ababfb11581a75cff8281e96f701e216692.tar.gz guix-6c447ababfb11581a75cff8281e96f701e216692.zip |
gnu: gcc-toolchain: Add empty librt.a.
* gnu/packages/commencememnt.scm (make-gcc-toolchain): Add empty librt.a.
* gnu/packages/base.scm (gcc): Add a warning regarding the missing librt.a.
Diffstat (limited to 'gnu/packages/commencement.scm')
-rw-r--r-- | gnu/packages/commencement.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index e522e70444..9604f06a47 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -3561,6 +3561,13 @@ COREUTILS-FINAL vs. COREUTILS, etc." (union-build (assoc-ref %outputs "static") (list (assoc-ref %build-inputs "libc-static"))) + ;; XXX Remove once an empty librt.a is added to + ;; libc:out. + (copy-file + (string-append (assoc-ref %outputs "out") + "/lib/libpthread.a") + (string-append (assoc-ref %outputs "out") + "/lib/librt.a")) #t)))) (native-search-paths |