mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
freebsd is happy with "cpp %d %i %o"
This commit is contained in:
parent
d5648d03a5
commit
c1b9f1c814
1 changed files with 3 additions and 0 deletions
|
@ -114,6 +114,9 @@ if test "x$cpp_name" != xauto; then
|
|||
else
|
||||
CPP_NAME="cpp %d -o %o %i"
|
||||
case "$target_os" in
|
||||
*freebsd*)
|
||||
CPP_NAME="cpp %d %i %o"
|
||||
;;
|
||||
*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