This commit is contained in:
kxxt 2022-10-01 08:14:19 +08:00
parent 1d54e0cfcd
commit 3584884bd4
1 changed files with 2 additions and 2 deletions

View File

@ -342,7 +342,7 @@ errors=$(
signals=$(
echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print $2 }' |
grep -Ev 'SIGSTKSIZE|SIGSTKSZ|SIGRT' |
grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT' |
sort
)
@ -352,7 +352,7 @@ echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
sort >_error.grep
echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print "^\t" $2 "[ \t]*=" }' |
grep -Ev 'SIGSTKSIZE|SIGSTKSZ|SIGRT' |
grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT' |
sort >_signal.grep
echo '// mkerrors.sh' "$@"