diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-05-03 12:44:27 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-05-03 12:44:27 +0000 |
commit | 05a73941f3fb177c4a891d4ff2a4ed5785e3b80c (patch) | |
tree | 3979db9c5f013b2494fabd36763d1e1e1b346e2c | |
parent | 934e061a245c2fa09578bf11571e203d38485a4b (diff) |
Fix test failure for missing _LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS
This is a follow-up change to r331150. The CL moved the macro from individual
file to build file, but the macro is missed in a test config file.
https://reviews.llvm.org/D46385
Patch from Taiju Tsuiki <tzik@chromium.org>!
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@331450 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/libcxxabi/test/config.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/libcxxabi/test/config.py b/test/libcxxabi/test/config.py index d24fc5b..f294c8b 100644 --- a/test/libcxxabi/test/config.py +++ b/test/libcxxabi/test/config.py @@ -49,7 +49,10 @@ class Configuration(LibcxxConfiguration): self.config.available_features.add('libcxxabi-has-system-unwinder') def configure_compile_flags(self): - self.cxx.compile_flags += ['-DLIBCXXABI_NO_TIMER'] + self.cxx.compile_flags += [ + '-DLIBCXXABI_NO_TIMER', + '-D_LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS', + ] if self.get_lit_bool('enable_exceptions', True): self.cxx.compile_flags += ['-funwind-tables'] else: |