mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-08 06:47:23 -04:00
Try again to fix macOS compiling
This commit is contained in:
parent
3ca94e8a33
commit
c3e4d73341
4
.github/workflows/build_mac32.yml
vendored
4
.github/workflows/build_mac32.yml
vendored
@ -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: |
|
||||
|
2
.github/workflows/build_mac64.yml
vendored
2
.github/workflows/build_mac64.yml
vendored
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user