diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-20 05:18:17 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-22 11:53:52 -0400 |
commit | da0dfe251d7216ffbee72c7e0ae0709ba9b422e6 (patch) | |
tree | 8f626aead72a2596c7a597b50ea420a3c67c3db5 /cpu.c | |
parent | 4c5b97bfd0dd54dc27717ae8d1cd10e14eef1430 (diff) |
build: fix macOS --enable-modules build
Apple's nm implementation includes empty lines in the output that are not
found in GNU binutils. This confuses scripts/undefsym.py, though it did
not confuse the scripts/undefsym.sh script that it replaced. To fix
this, ignore lines that do not have two fields.
Reported-by: Emmanuel Blot <eblot.ml@gmail.com>
Tested-by: Emmanuel Blot <eblot.ml@gmail.com>
Fixes: 604f3e4e90 ("meson: Convert undefsym.sh to undefsym.py", 2020-09-08)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions