[libc++] Disable -Wattributes in GCC
authorNikolas Klauser <nikolasklauser@berlin.de>
Mon, 7 Feb 2022 15:07:01 +0000 (16:07 +0100)
committerNikolas Klauser <nikolasklauser@berlin.de>
Mon, 7 Feb 2022 18:58:25 +0000 (19:58 +0100)
commit0e7d7fe9122c312efc4e43888ec5ac85dae4b3cf
treeded3e337dfdbfe4cc9cd4c1b5db0682774706005
parentbe1cca1b0d7ce01dff2a3cf97438f437576a1fa0
[libc++] Disable -Wattributes in GCC

Currently GCC produces lots of warnings. Most of them are `-Wattributes`, but these warnings are completly ignored by everybody. So let's disable -Wattributes and make the output cleaner.

Reviewed By: ldionne, #libc

Spies: libcxx-commits, mgorny

Differential Revision: https://reviews.llvm.org/D119140
libcxx/CMakeLists.txt