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:
|
versions:
|
||||||
#TODO HTML listing: https://ftp.gnu.org/gnu/binutils/
|
#TODO HTML listing: https://ftp.gnu.org/gnu/binutils/
|
||||||
- v2.39
|
- '2.40'
|
||||||
|
- 2.39
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -15,17 +16,9 @@ build:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
linux:
|
linux:
|
||||||
gnu.org/gcc: '*'
|
gnu.org/gcc: '*'
|
||||||
|
# bootstrap phase 2
|
||||||
|
gnu.org/binutils: '*'
|
||||||
script: |
|
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 }}
|
./configure --prefix={{ prefix }}
|
||||||
make --jobs {{ hw.concurrency }}
|
make --jobs {{ hw.concurrency }}
|
||||||
make install
|
make install
|
||||||
|
|
Loading…
Reference in a new issue