fix(gcc).symlinks

I believe these should be the binutils versions
This commit is contained in:
Jacob Heider 2023-10-07 21:56:04 -04:00 committed by Jacob Heider
parent aa90945820
commit d131f1863f

View file

@ -7,8 +7,7 @@ versions:
strip: /^releases\/gcc-/
dependencies:
linux:
gnu.org/binutils: '*' # linker needs `as`
gnu.org/binutils: '*' # linker needs `as`
gnu.org/gmp: '>=4.2'
gnu.org/mpfr: '>=2.4.0'
gnu.org/mpc: '>=0.8.0'
@ -69,9 +68,9 @@ build:
# means we're building with the exact same version FIXME
- run: |
ln -sf gcc cc
ln -sf gcc-ar ar
ln -sf gcc-nm nm
ln -sf gcc-ranlib ranlib
ln -sf ../../../binutils/v\*/bin/ar ar
ln -sf ../../../binutils/v\*/bin/nm nm
ln -sf ../../../binutils/v\*/bin/ranlib ranlib
working-directory: ${{prefix}}/bin
env: