summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-01-06 11:43:13 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-01-06 11:48:39 +0200
commit5fe2c549b48771bd461b32545325e321456a24ec (patch)
treed05d2e9ce900cbb542d368069f836fcb35dd96f0 /gnu
parent0b07f22728488f2f85624b716e5398bbb3a4165d (diff)
downloadguix-5fe2c549b48771bd461b32545325e321456a24ec.tar.gz
gnu: gcc-boot0: Fix build on non-Intel systems.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Fix 'match case
for alternate systems so a 'phase is added.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/commencement.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index bbcc5ac589..dc05e047d1 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
 ;;; Copyright © 2014, 2015, 2017 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 ;;;
@@ -1634,7 +1634,8 @@ exec " gcc "/bin/" program
                         (substitute* "libcc1/configure"
                           (("g\\+\\+ -v") "true"))
                         #t)))
-                   (_ identity))
+                   (_ '(add-before 'configure 'return-true
+                         (lambda _ #t))))
                 (add-after 'install 'symlink-libgcc_eh
                   (lambda* (#:key outputs #:allow-other-keys)
                     (let ((out (assoc-ref outputs "lib")))