diff --git a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py index 6fd60c22cea4f..f37331e2cd254 100644 --- a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py +++ b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py @@ -20,7 +20,7 @@ def build_and_run(self, test_file): try: self.build(dictionary={ "C_SOURCES" : test_file, - "CFLAGS_EXTRAS" : "-Werror" + "CFLAGS_EXTRAS" : "-Werror=ignored-attributes" }) except BuildError as e: # Test source failed to build. Check if it failed because the