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
@ -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…
x
Reference in New Issue
Block a user