mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 15:01:41 +00:00
working CPPNAME for darwin
This commit is contained in:
parent
2ccff86089
commit
0edf9f0d11
1 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,9 @@ else
|
|||
*qnx*)
|
||||
CPP_NAME="gcc -E -x c++ %d -o %o %i"
|
||||
;;
|
||||
*darwin*)
|
||||
CPP_NAME="/usr/libexec/gcc/darwin/`/usr/bin/arch`/default/cpp %d -o %o %i"
|
||||
;;
|
||||
*bsd*)
|
||||
touch conftest.c
|
||||
CPP_NAME="`(f=\`$CC -v -E -Dfoo conftest.c -o conftest.i 2>&1 | grep -e -Dfoo\`; set $f; echo "$1")` %d %i %o"
|
||||
|
|
Loading…
Reference in a new issue