mirror of https://github.com/ClassiCube/ClassiCube
Try again to fix macOS compiling
This commit is contained in:
parent
3ca94e8a33
commit
c3e4d73341
|
|
@ -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: |
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue