[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
161/163: gnu: make-boot0: Set LOADLIBES for i686-linux.
From: |
Jan Nieuwenhuizen |
Subject: |
161/163: gnu: make-boot0: Set LOADLIBES for i686-linux. |
Date: |
Thu, 30 Aug 2018 01:03:42 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 8e1977169c1bdb1236c147c93bdfe2ac77c91bd5
Author: Jan Nieuwenhuizen <address@hidden>
Date: Tue Aug 28 23:12:59 2018 +0200
gnu: make-boot0: Set LOADLIBES for i686-linux.
* gnu/packages/commencement.scm (gnu-make-boot0): Set LOADLIBES for
i686-linux.
---
gnu/packages/commencement.scm | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 6779502..7cc1ef9 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1398,16 +1398,24 @@ ac_cv_c_float_format='IEEE (little-endian)'
,@(substitute-keyword-arguments (package-arguments gnu-make)
((#:phases phases)
`(modify-phases ,phases
- (replace 'build
- (lambda _
- (invoke "./build.sh")
- #t))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin")))
- (install-file "make" bin)
- #t))))))))
+ ,@(append
+ (match (%current-system)
+ ("i686-linux"
+ '((add-before 'build 'configure-fixup
+ (lambda _
+ (substitute* "build.sh"
+ (("^LOADLIBES=.*") "LOADLIBES='-ldl -lc
-lnss_files -lnss_dns -lresolv'\n"))))))
+ (_ '()))
+ '((replace 'build
+ (lambda _
+ (invoke "./build.sh")
+ #t))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (install-file "make" bin)
+ #t))))))))))
(native-inputs '()) ; no need for 'pkg-config'
(inputs %bootstrap-inputs+toolchain))))
- 144/163: gnu: bootstrap-tarballs: Update inputs for i686-linux., (continued)
- 144/163: gnu: bootstrap-tarballs: Update inputs for i686-linux., Jan Nieuwenhuizen, 2018/08/30
- 147/163: gnu: %tinycc-seed: Update for mes 0.18. WIP, Jan Nieuwenhuizen, 2018/08/30
- 155/163: Revert "gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/08/30
- 112/163: gnu: tcc-boot: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/08/30
- 134/163: gnu: mescc-tools-boot: Use gnu-build-system., Jan Nieuwenhuizen, 2018/08/30
- 149/163: gnu: tcc-boot: Update for mes 0.18. WIP, Jan Nieuwenhuizen, 2018/08/30
- 151/163: gnu: Add diffutils-mesboot 2.7., Jan Nieuwenhuizen, 2018/08/30
- 159/163: gcc-mesboot: use package-full-name "-" :-), Jan Nieuwenhuizen, 2018/08/30
- 157/163: Revert "gnu: Add %make-static, %make-static-stripped, %make-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/08/30
- 153/163: bootstrap: Remove dependency on %bootstrap-make, %bootstrap-diffutils., Jan Nieuwenhuizen, 2018/08/30
- 161/163: gnu: make-boot0: Set LOADLIBES for i686-linux.,
Jan Nieuwenhuizen <=
- 145/163: bootstrap: Integrate mes bootstrap for i686-linux., Jan Nieuwenhuizen, 2018/08/30
- 65/163: gnu: binutils-boot: Update to 2.25., Jan Nieuwenhuizen, 2018/08/30
- 162/163: gnu: Add glibc-mesboot 2.3.6. WIP, Jan Nieuwenhuizen, 2018/08/30
- 68/163: Revert "gnu: binutils-boot: Update to 2.25.", Jan Nieuwenhuizen, 2018/08/30