mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-07 19:40:23 +08:00
fix(release): adapt to cosmopolitan
This commit is contained in:
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -14,6 +14,7 @@ jobs:
|
||||
steps:
|
||||
|
||||
- name: Checkout Code
|
||||
id: checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Build Tools
|
||||
@@ -27,7 +28,7 @@ jobs:
|
||||
run: |
|
||||
gcc -g -Os -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \
|
||||
-fno-omit-frame-pointer -pg -mnop-mcount -D__cosmopolitan \
|
||||
-DBASE16384_VERSION="${{ github.ref }}" -DBASE16384_VERSION_DATE="`date +"%Y%b/%d"`"\
|
||||
-DBASE16384_VERSION=\"${{ steps.checkout.outputs.VERSION }}\" -DBASE16384_VERSION_DATE=\"`date +"%Y%b/%d"`\"\
|
||||
-o base16384.com.dbg base16384.c file.c base1432.c -fuse-ld=bfd -Wl,-T,ape.lds \
|
||||
-include cosmopolitan.h crt.o ape.o cosmopolitan.a
|
||||
objcopy -S -O binary base16384.com.dbg base16384.com
|
||||
|
||||
Reference in New Issue
Block a user