Tests: Fix missing argument removed by -cc1

This argument is removed (or rather, never added) by `-cc1`, which
breaks any builds using GNU libc++, including CI.
This commit is contained in:
Jonne Ransijn 2024-11-20 21:07:58 +01:00
parent 89d789ac4e
commit 2c9860cd60
No known key found for this signature in database
GPG key ID: 49DC70026D2C578C

View file

@ -11,6 +11,7 @@ list(APPEND CLANG_PLUGINS_COMPILE_OPTIONS_FOR_TESTS
-Wno-literal-range
-Wno-unknown-warning-option
-Wno-unqualified-std-cast-call
-fgnuc-version=4.2.1 # NOTE: Clang default as of 10.0.0
)
# Ensure we always check for invalid function field types regardless of the value of ENABLE_CLANG_PLUGINS_INVALID_FUNCTION_MEMBERS