Skip to content

Commit

Permalink
github: Remove sed hack from GCC build script
Browse files Browse the repository at this point in the history
  • Loading branch information
keirf committed Jan 8, 2025
1 parent 8f6319c commit 5d4d628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/cross
key: ${{ runner.os }}-${{ env.BINUTILS_RELEASE }}-${{ env.GCC_RELEASE }}-3
key: ${{ runner.os }}-${{ env.BINUTILS_RELEASE }}-${{ env.GCC_RELEASE }}-4

- name: Build toolchain
if: steps.cache-toolchain.outputs.cache-hit != 'true'
Expand All @@ -53,7 +53,6 @@ jobs:
make ${MAKE_OPTS}
make install
cd ../gcc-${GCC_RELEASE}
sed -i 's/--check/-c/g' contrib/download_prerequisites
./contrib/download_prerequisites
mkdir ../gcc-build && cd ../gcc-build
../gcc-${GCC_RELEASE}/configure --prefix=$MDIR --target=m68k-elf --enable-languages=c --disable-libssp
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/cross
key: ${{ runner.os }}-${{ env.BINUTILS_RELEASE }}-${{ env.GCC_RELEASE }}-3
key: ${{ runner.os }}-${{ env.BINUTILS_RELEASE }}-${{ env.GCC_RELEASE }}-4

- name: Build toolchain
if: steps.cache-toolchain.outputs.cache-hit != 'true'
Expand All @@ -56,7 +56,6 @@ jobs:
make ${MAKE_OPTS}
make install
cd ../gcc-${GCC_RELEASE}
sed -i 's/--check/-c/g' contrib/download_prerequisites
./contrib/download_prerequisites
mkdir ../gcc-build && cd ../gcc-build
../gcc-${GCC_RELEASE}/configure --prefix=$MDIR --target=m68k-elf --enable-languages=c --disable-libssp
Expand Down

0 comments on commit 5d4d628

Please sign in to comment.