summary refs log tree commit diff
path: root/gnu/packages/llvm.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-02-21 17:07:39 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-02-24 17:10:22 +0100
commit233deb82f3b1c9b66b33b709426ab76bd274bb75 (patch)
treef4106fa6cd4f013a3badf3703750b41e7ca562c3 /gnu/packages/llvm.scm
parentb4481f2df1ac0e24a41a06671e99e88a5e2c9d2d (diff)
downloadguix-233deb82f3b1c9b66b33b709426ab76bd274bb75.tar.gz
gnu: clang@9: Fix search path handling.
* gnu/packages/patches/clang-9.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/llvm.scm (clang-9): Add #:patches.
Diffstat (limited to 'gnu/packages/llvm.scm')
-rw-r--r--gnu/packages/llvm.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index a6f779e7f8..e7b196be86 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2016 Dennis Mungai <dmngaie@gmail.com>
 ;;; Copyright © 2016, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
-;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
@@ -479,7 +479,8 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.")
 
 (define-public clang-9
   (clang-from-llvm llvm-9 clang-runtime-9
-                   "0426ma80i41qsgzm1qdz81mjskck426diygxi2k5vji2gkpixa3v"))
+                   "0426ma80i41qsgzm1qdz81mjskck426diygxi2k5vji2gkpixa3v"
+                   #:patches '("clang-9.0-libc-search-path.patch")))
 
 (define-public clang-toolchain-9
   (make-clang-toolchain clang-9))