Fix qfcc on OpenBSD by calling the binary instead of the wrapper.

This commit is contained in:
Antti Harri 2011-05-28 15:41:08 +03:00
parent 65789d22d9
commit b5ad92d2f0

View file

@ -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"
;;