mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-14 15:38:06 +02:00
sdksyms.sh: Exit on error rather than building an empty symbol table
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
cd89482088
commit
2387fb2385
1 changed files with 1 additions and 0 deletions
|
|
@ -324,6 +324,7 @@ topdir=$1
|
|||
shift
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
${CPP:-cpp} "$@" -DXorgLoader sdksyms.c > /dev/null || exit $?
|
||||
${CPP:-cpp} "$@" -DXorgLoader sdksyms.c | ${AWK:-awk} -v topdir=$topdir '
|
||||
BEGIN {
|
||||
sdk = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue