mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +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
|
else
|
||||||
CPP_NAME="cpp %d -o %o %i"
|
CPP_NAME="cpp %d -o %o %i"
|
||||||
case "$target_os" in
|
case "$target_os" in
|
||||||
|
*freebsd*)
|
||||||
|
CPP_NAME="cpp %d %i %o"
|
||||||
|
;;
|
||||||
*bsd*)
|
*bsd*)
|
||||||
touch conftest.c
|
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"
|
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