[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
161/176: gnu: make-boot0: Set LOADLIBES for i686-linux.
From: |
Jan Nieuwenhuizen |
Subject: |
161/176: gnu: make-boot0: Set LOADLIBES for i686-linux. |
Date: |
Fri, 31 Aug 2018 11:20:33 -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))))
- 97/176: gnu: gcc-boot: build with %cheat-binutils?, (continued)
- 97/176: gnu: gcc-boot: build with %cheat-binutils?, Jan Nieuwenhuizen, 2018/08/31
- 115/176: gnu: glibc-mesboot: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/08/31
- 114/176: gnu: gcc-core-mesboot: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/08/31
- 113/176: gnu: binutils-mesboot0: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/08/31
- 112/176: gnu: tcc-boot: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/08/31
- 108/176: gnu: Add gcc-mesboot 4.7.4. WIP, Jan Nieuwenhuizen, 2018/08/31
- 109/176: REMOVEME: %fake-bootstrap => #t., Jan Nieuwenhuizen, 2018/08/31
- 129/176: gnu: %mes-seed: Update for mes 0.17., Jan Nieuwenhuizen, 2018/08/31
- 154/176: Revert "gnu: Add %bootstrap-diffutils.", Jan Nieuwenhuizen, 2018/08/31
- 140/176: gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball., Jan Nieuwenhuizen, 2018/08/31
- 161/176: gnu: make-boot0: Set LOADLIBES for i686-linux.,
Jan Nieuwenhuizen <=
- 126/176: gnu: gcc-mesboot0: Revise dependencies., Jan Nieuwenhuizen, 2018/08/31
- 136/176: gnu: tcc-boot0: Use gnu-build-system., Jan Nieuwenhuizen, 2018/08/31
- 131/176: gnu: mes: Update to 0.17., Jan Nieuwenhuizen, 2018/08/31
- 164/176: gnu: Add gcc-mesboot-wrapper 4.7.4., Jan Nieuwenhuizen, 2018/08/31
- 160/176: gnu: Add mpc-boot 1.0.3., Jan Nieuwenhuizen, 2018/08/31
- 166/176: gnu: diffutils-boot0: Export (for testing)., Jan Nieuwenhuizen, 2018/08/31
- 165/176: Revert "gnu: make-boot0: Set LOADLIBES for i686-linux.", Jan Nieuwenhuizen, 2018/08/31
- 87/176: gnu: %mes-seed: Update for mes 0.16., Jan Nieuwenhuizen, 2018/08/31
- 77/176: Revert "gnu: gcc-boot: Update to 3.0.", Jan Nieuwenhuizen, 2018/08/31
- 102/176: gnu: gcc-core-mesboot: Rename from gcc-core-boot., Jan Nieuwenhuizen, 2018/08/31