aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-10-20 05:18:17 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-10-22 11:53:52 -0400
commitda0dfe251d7216ffbee72c7e0ae0709ba9b422e6 (patch)
tree8f626aead72a2596c7a597b50ea420a3c67c3db5 /.cirrus.yml
parent4c5b97bfd0dd54dc27717ae8d1cd10e14eef1430 (diff)
downloadqemu-da0dfe251d7216ffbee72c7e0ae0709ba9b422e6.zip
qemu-da0dfe251d7216ffbee72c7e0ae0709ba9b422e6.tar.gz
qemu-da0dfe251d7216ffbee72c7e0ae0709ba9b422e6.tar.bz2
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 '.cirrus.yml')
-rw-r--r--.cirrus.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 81a2960..900437d 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -40,7 +40,7 @@ macos_xcode_task:
script:
- mkdir build
- cd build
- - ../configure --extra-cflags='-Wno-error=deprecated-declarations'
+ - ../configure --extra-cflags='-Wno-error=deprecated-declarations' --enable-modules
--enable-werror --cc=clang || { cat config.log meson-logs/meson-log.txt; exit 1; }
- gmake -j$(sysctl -n hw.ncpu)
- gmake check V=1