guix-commits
[Top][All Lists]
Advanced

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

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


From: Jan Nieuwenhuizen
Subject: 11/14: bootstrap: bison-boot0: Do not use `ranlib -D'.
Date: Wed, 19 Sep 2018 01:04:05 -0400 (EDT)

janneke pushed a commit to branch wip-bootstrap
in repository guix.

commit 9b9bd84f3bd3ed6392c83657b8f464bb94cae97f
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 3f0a6ba..91e7f5b 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]