mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 16:31:18 +01:00
Really fix this work to work. While rev 1.24 did allow awk to run w/o
complaining; the resulting output was useless.
This commit is contained in:
parent
a3413a232a
commit
37397b32c9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85796
@ -25,12 +25,12 @@ ioctl_includes=`
|
||||
egrep -v '^(netns)/' |
|
||||
xargs egrep -l \
|
||||
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' |
|
||||
sed -e 's/^/#include </' -e s'/$/>/'
|
||||
awk '{printf("#include <%s>\\\\n", $1)}'
|
||||
`
|
||||
|
||||
echo "$ioctl_includes" |
|
||||
awk -v x="$ioctl_includes" 'BEGIN {print x}' |
|
||||
gcc -E -I$1 -dM - |
|
||||
awk -v ioctl_includes="`echo $ioctl_includes`" -v use_switch="$use_switch" '
|
||||
awk -v ioctl_includes="$ioctl_includes" -v use_switch="$use_switch" '
|
||||
BEGIN {
|
||||
print "/* XXX obnoxious prerequisites. */"
|
||||
print "#define COMPAT_43"
|
||||
|
Loading…
Reference in New Issue
Block a user