From 052f409e53a15fec25392b182b892ad19595ed59 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Sat, 28 Jan 2023 00:53:41 -0500 Subject: [PATCH] unbootstrap binutils --- projects/gnu.org/binutils/package.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/projects/gnu.org/binutils/package.yml b/projects/gnu.org/binutils/package.yml index 25a4bb9b..200414ec 100644 --- a/projects/gnu.org/binutils/package.yml +++ b/projects/gnu.org/binutils/package.yml @@ -4,7 +4,8 @@ distributable: versions: #TODO HTML listing: https://ftp.gnu.org/gnu/binutils/ - - v2.39 + - '2.40' + - 2.39 build: dependencies: @@ -15,17 +16,9 @@ build: tea.xyz/gx/cc: c99 linux: gnu.org/gcc: '*' + # bootstrap phase 2 + gnu.org/binutils: '*' script: | - # FIXME: bootstrap - we need `as` from binutils to build with gcc - if test "{{hw.platform}}" = "linux"; then - if command -v sudo; then - sudo apt-get --yes install binutils - else # assume no sudo = we can just run apt-get - apt-get --yes install binutils - fi - fi - - ./configure --prefix={{ prefix }} make --jobs {{ hw.concurrency }} make install