diff --git a/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp b/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp index 5130758d5efd5..abb12d6a3c247 100644 --- a/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp +++ b/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp @@ -18,7 +18,7 @@ // Ignore diagnostic about vector types changing the ABI on some targets, since // that is irrelevant for this test. -// ADDITIONAL_COMPILE_FLAGS: -Wno-psabi +// ADDITIONAL_COMPILE_FLAGS(gcc-style-warnings): -Wno-psabi #include #include