guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/16: bootstrap: bison-boot0: Do not use `ranlib -D'.


From: Jan Nieuwenhuizen
Subject: 11/16: bootstrap: bison-boot0: Do not use `ranlib -D'.
Date: Sun, 23 Sep 2018 03:49:22 -0400 (EDT)

janneke pushed a commit to branch core-updates-next
in repository guix.

commit 56f45b7c785dd576d023c45c5603ab907da912fe
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Tue Sep 18 23:18:40 2018 +0200

    bootstrap: bison-boot0: Do not use `ranlib -D'.
    
    * gnu/packages/commencement.scm (bison-boot0): Do not use `ranlib -D' for
    i686-linux bootstrap.
---
 gnu/packages/commencement.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index ea4d2de..f107bef 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1862,13 +1862,16 @@ exec " gcc "/bin/" program
                   (propagated-inputs `(("m4" ,m4)))
                   (inputs '())                    ;remove Flex...
                   (arguments
-                   '(#:tests? #f                  ;... and thus disable tests
+                   `(#:tests? #f                  ;... and thus disable tests
 
                      ;; Zero timestamps in liby.a; this must be done
                      ;; explicitly here because the bootstrap Binutils don't
                      ;; do that (default is "cru".)
-                     #:make-flags '("ARFLAGS=crD"
-                                    "RANLIB=ranlib -D"
+                     #:make-flags `("ARFLAGS=crD"
+                                    ,,(match (%current-system)
+                                      ;; ranlib: '-D': No such file
+                                      ("i686-linux" "RANLIB=ranlib")
+                                      (_ "RANLIB=ranlib -D"))
                                     "V=1"))))))
     (package
       (inherit (package-with-bootstrap-guile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]