[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
180/211: gnu: make-mesboot0: Cleanup.
From: |
Jan Nieuwenhuizen |
Subject: |
180/211: gnu: make-mesboot0: Cleanup. |
Date: |
Sat, 8 Sep 2018 11:09:53 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 43c84aadfc9da0b6672e377b2f15d58405f5b068
Author: Jan Nieuwenhuizen <address@hidden>
Date: Mon Sep 3 11:03:03 2018 +0200
gnu: make-mesboot0: Cleanup.
* gnu/packages/commencement.scm (make-mesboot0): Cleanup.
---
gnu/packages/commencement.scm | 21 ++++-----------------
1 file changed, 4 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 8188333..2e06e20 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -586,24 +586,11 @@
`(#:implicit-inputs? #f
#:tests? #f ; check depends on perl
#:guile ,%bootstrap-guile
- #:strip-binaries? #f ; binutil's strip b0rkes MesCC/M1/hex2 binaries
+ #:configure-flags `("CC=tcc -DO_RDONLY=0"
+ "LD=tcc"
+ "--disable-nls")
#:phases
(modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (unsetenv "C_INCLUDE_PATH")
- (unsetenv "LIBRARY_PATH")
- (setenv "CONFIG_SHELL" (string-append
- (assoc-ref %build-inputs "bash")
- "/bin/sh"))
- (setenv "CC" "tcc -g -static -DO_RDONLY=0")
- (setenv "LD" "tcc -g -static")
- (format (current-error-port) "PATH=~a\n" (getenv "PATH"))
- (zero?
- (system* "./configure"
- (string-append "--prefix=" out)
- "--disable-nls")))))
(add-after 'configure 'configure-fixup
(lambda _
(substitute* "build.sh"
@@ -615,7 +602,7 @@
(delete 'patch-generated-file-shebangs) ; no perl
(replace 'build
(lambda _
- (zero? (system* "sh" "./build.sh"))))
+ (invoke "sh" "./build.sh")))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- 201/211: gnu: file-boot0: Remove bootstrap leaks., (continued)
- 201/211: gnu: file-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 204/211: gnu: gcc-boot0: Workaround libtool install bug., Jan Nieuwenhuizen, 2018/09/08
- 203/211: gnu: glibc-mesboot: Drop obsolete sun rpc support., Jan Nieuwenhuizen, 2018/09/08
- 208/211: gnu: nyacc: Update to 0.86.0., Jan Nieuwenhuizen, 2018/09/08
- 199/211: gnu: diffutils-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 183/211: gnu: gcc-core-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 205/211: gnu: perl-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 197/211: Oops, libstdc++ build fixes WIP, Jan Nieuwenhuizen, 2018/09/08
- 177/211: gnu: mes-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 190/211: gnu: gcc-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 180/211: gnu: make-mesboot0: Cleanup.,
Jan Nieuwenhuizen <=
- 181/211: gnu: diffutils-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 162/211: gnu: Add glibc-mesboot 2.3.6. WIP, Jan Nieuwenhuizen, 2018/09/08
- 185/211: gnu: glibc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 207/211: gnu: bison-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 193/211: gnu: glibc-mesboot: Oops, install everything., Jan Nieuwenhuizen, 2018/09/08
- 189/211: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 172/211: copy-linux-headers: Update for glibc-2.16.0., Jan Nieuwenhuizen, 2018/09/08
- 198/211: gnu: Add gcc-mesboot-4.9.4., Jan Nieuwenhuizen, 2018/09/08
- 202/211: gnu: libstdc++-boot0: Copy libstdc++.so.6.0.20 to pass install., Jan Nieuwenhuizen, 2018/09/08
- 145/211: bootstrap: Integrate mes bootstrap for i686-linux., Jan Nieuwenhuizen, 2018/09/08