Try again to fix macOS compiling

This commit is contained in:
UnknownShadow200 2025-06-30 21:18:44 +10:00
parent 3ca94e8a33
commit c3e4d73341
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ jobs:
shell: bash
id: compile
env:
LIBS: "-framework Cocoa -framework OpenGL -framework IOKit -lobjc -lgcc_s.1"
LIBS: "-framework Security -framework Cocoa -framework OpenGL -framework IOKit -lobjc -lgcc_s.1"
SRCS: "src/*.c src/Window_cocoa.m third_party/bearssl/src/*.c"
COMMON_FLAGS: "-O1 -s -fno-stack-protector -fno-math-errno -Qn -Ithird_party/bearssl/inc -fvisibility=hidden -rdynamic"
run: |
@ -41,7 +41,7 @@ jobs:
shell: bash
id: compile_ppc
env:
LIBS: "-framework Cocoa -framework OpenGL -framework IOKit -lobjc"
LIBS: "-framework Security -framework Cocoa -framework OpenGL -framework IOKit -lobjc"
SRCS: "src/*.c src/Window_cocoa.m third_party/bearssl/src/*.c"
COMMON_FLAGS: "-O1 -s -fno-stack-protector -fno-math-errno -Qn -Ithird_party/bearssl/inc -fvisibility=hidden -static-libgcc -Wl,-no_compact_unwind -isystem /usr/local/compiler/ppc/target/SDK/MacOSX10.5.sdk -Wl,-syslibroot /usr/local/compiler/ppc/target/SDK/MacOSX10.5.sdk"
run: |

View File

@ -23,7 +23,7 @@ jobs:
shell: bash
id: compile
env:
LIBS: "-framework Cocoa -framework OpenGL -framework IOKit -lobjc"
LIBS: "-framework Security -framework Cocoa -framework OpenGL -framework IOKit -lobjc"
SRCS: "src/*.c src/Window_cocoa.m third_party/bearssl/src/*.c"
COMMON_FLAGS: "-O1 -s -fno-stack-protector -fno-math-errno -Qn -Ithird_party/bearssl/inc"
ARM64_FLAGS: "-fvisibility=hidden -rdynamic -DCC_GFX_BACKEND=CC_GFX_BACKEND_GL2 -arch arm64"