Skip to content

Commit

Permalink
Build: Switch to different cross compiler tap
Browse files Browse the repository at this point in the history
  • Loading branch information
dhinakg authored and vit9696 committed Apr 28, 2021
1 parent e7e3a5c commit eff77bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- uses: actions/checkout@v2

- name: Add Linux Toolchain
run: brew tap MarioSchwalbe/gcc-musl-cross
run: brew tap FiloSottile/homebrew-musl-cross

- name: Install Linux Toolchain
run: brew install gcc-8-musl-cross --without-armhf --without-aarch64
run: brew install musl-cross
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_AUTO_UPDATE: 1
Expand Down
6 changes: 3 additions & 3 deletions build_oc.tool
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ buildutil() {
UDK_ARCH=Ia32 CC=i686-w64-mingw32-gcc STRIP=i686-w64-mingw32-strip DIST=Windows make clean || exit 1
UDK_ARCH=Ia32 CC=i686-w64-mingw32-gcc STRIP=i686-w64-mingw32-strip DIST=Windows make -j "$cores" || exit 1
fi
if [ "$(which x86_64-linux-musl-gcc-8)" != "" ]; then
if [ "$(which x86_64-linux-musl-gcc)" != "" ]; then
echo "Building ${util} for Linux..."
STATIC=1 SUFFIX=.linux UDK_ARCH=X64 CC=x86_64-linux-musl-gcc-8 STRIP=x86_64-linux-musl-strip-8 DIST=Linux make clean || exit 1
STATIC=1 SUFFIX=.linux UDK_ARCH=X64 CC=x86_64-linux-musl-gcc-8 STRIP=x86_64-linux-musl-strip-8 DIST=Linux make -j "$cores" || exit 1
STATIC=1 SUFFIX=.linux UDK_ARCH=X64 CC=x86_64-linux-musl-gcc STRIP=x86_64-linux-musl-strip DIST=Linux make clean || exit 1
STATIC=1 SUFFIX=.linux UDK_ARCH=X64 CC=x86_64-linux-musl-gcc STRIP=x86_64-linux-musl-strip DIST=Linux make -j "$cores" || exit 1
fi
cd - || exit 1
done
Expand Down

0 comments on commit eff77bd

Please sign in to comment.