mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
unbootstrap binutils
This commit is contained in:
parent
9375d3fa8f
commit
052f409e53
1 changed files with 4 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue