mirror of
https://github.com/pmret/gcc-papermario.git
synced 2024-09-19 23:31:33 +02:00
maybe build fat binary for arm64
This commit is contained in:
parent
10db562d8d
commit
e20fefbb1e
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
}
|
||||
- {
|
||||
OS: 'macos-latest',
|
||||
CFLAGS: '-std=gnu89 -Wno-return-type -Wno-error -Wno-implicit-function-declaration',
|
||||
CFLAGS: '-std=gnu89 -Wno-return-type -Wno-error -Wno-implicit-function-declaration -arch x86_64 -arch arm64',
|
||||
HOST: 'i386-apple-darwin'
|
||||
}
|
||||
|
||||
@ -39,6 +39,11 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
./configure --target=mips-nintendo-nu64 --prefix=/opt/cross --with-gnu-as --disable-gprof --disable-gdb --disable-werror --host=${{ matrix.TARGET.HOST }} --build=${{ matrix.TARGET.HOST }}
|
||||
- name: Stub arch64 (Apple Silicon) host
|
||||
shell: bash
|
||||
if: matrix.TARGET.OS == 'macos-latest'
|
||||
run: |
|
||||
echo '#include "config/i386/xm-darwin.h"' >> config.h
|
||||
- name: Make
|
||||
continue-on-error: true
|
||||
shell: bash
|
||||
@ -56,7 +61,6 @@ jobs:
|
||||
with:
|
||||
name: cc1-${{ matrix.TARGET.OS }}
|
||||
path: |
|
||||
as
|
||||
cpp
|
||||
cc1
|
||||
xgcc
|
||||
|
Loading…
Reference in New Issue
Block a user