added cross-compilation script for producing Mac OSX binary

This commit is contained in:
ole00 2022-04-22 19:55:42 +01:00
parent 39fe8258db
commit 3fc0753273
1 changed files with 4 additions and 0 deletions

4
compile_osx.sh Executable file
View File

@ -0,0 +1,4 @@
# path to your Osx cross-compiler
CC=~/opt/osxcross/bin/o64-clang
$CC -g3 -O0 -DNO_CLOSE -o afterburner_osx src_pc/afterburner.c