mirror of
https://github.com/ole00/afterburner.git
synced 2024-11-24 19:30:54 +00:00
build script for OSX: compile with preprocessor _OSX_
The preprocessor symbol helps to distinguish the serial port detection rule (OSX/Linux).
This commit is contained in:
parent
4238800190
commit
3b4921daa2
@ -4,4 +4,4 @@ CC=~/opt/osxcross/bin/o64-clang
|
||||
GCOM=`git rev-parse --short HEAD`
|
||||
|
||||
|
||||
$CC -g3 -O0 -DNO_CLOSE -DGCOM="\"g${GCOM}\"" -o afterburner_osx src_pc/afterburner.c
|
||||
$CC -g3 -O0 -D_OSX_ -DNO_CLOSE -DGCOM="\"g${GCOM}\"" -o afterburner_osx src_pc/afterburner.c
|
||||
|
Loading…
Reference in New Issue
Block a user