mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
Fix qfcc on OpenBSD by calling the binary instead of the wrapper.
This commit is contained in:
parent
65789d22d9
commit
b5ad92d2f0
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@ else
|
|||
*freebsd*)
|
||||
CPP_NAME="cpp %d %i %o"
|
||||
;;
|
||||
*openbsd*)
|
||||
# /usr/bin/cpp is a wrapper script to /usr/libexec/cpp.
|
||||
# It parses incorrectly the options needed, so call the
|
||||
# binary directly.
|
||||
CPP_NAME="/usr/libexec/cpp %d -o %o %i"
|
||||
;;
|
||||
*qnx*)
|
||||
CPP_NAME="gcc -E -x c++ %d -o %o %i"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue