Commit ba25a538 authored by Max Kellermann's avatar Max Kellermann

meson.build: use -funwind-tables only with clang

parent 657ef485
......@@ -60,11 +60,13 @@ test_cxxflags = test_common_flags + [
# in C++17 because the exception specification is part of a function
# type"
'-Wno-noexcept-type',
]
if compiler.get_id() == 'clang'
# Workaround for clang bug
# https://bugs.llvm.org/show_bug.cgi?id=32611
'-funwind-tables',
]
test_cxxflags += '-funwind-tables'
endif
test_cflags = test_common_flags + [
'-Wmissing-prototypes',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment