Use cpp -I$includedir
"cpp -I$1" was expanding to "cpp -Iprint" which was not the proper directory of header files.
This commit is contained in:
parent
61099d9aab
commit
dc7fc2cad8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284406
@ -39,7 +39,7 @@ case "${MACHINE}" in
|
||||
esac
|
||||
|
||||
awk -v x="$ioctl_includes" 'BEGIN {print x}' |
|
||||
$CPP -nostdinc -I$1 -dM -DCOMPAT_43TTY - |
|
||||
$CPP -nostdinc -I$includedir -dM -DCOMPAT_43TTY - |
|
||||
awk -v ioctl_includes="$ioctl_includes" -v style="$style" '
|
||||
BEGIN {
|
||||
print "/* XXX obnoxious prerequisites. */"
|
||||
|
Loading…
Reference in New Issue
Block a user