mirror of
https://github.com/pmret/gcc-papermario.git
synced 2024-11-09 20:32:32 +01: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',
|
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'
|
HOST: 'i386-apple-darwin'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,6 +39,11 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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 }}
|
./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
|
- name: Make
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -56,7 +61,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: cc1-${{ matrix.TARGET.OS }}
|
name: cc1-${{ matrix.TARGET.OS }}
|
||||||
path: |
|
path: |
|
||||||
as
|
|
||||||
cpp
|
cpp
|
||||||
cc1
|
cc1
|
||||||
xgcc
|
xgcc
|
||||||
|
Loading…
Reference in New Issue
Block a user