[libc-commits] [libc] [libc] remove extra -Werror (PR #78761)

via libc-commits libc-commits at lists.llvm.org
Fri Jan 19 11:03:05 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Nick Desaulniers (nickdesaulniers)

<details>
<summary>Changes</summary>

-Werror is now a global default as of
commit c52b467875e2 ("Reapply "[libc] build with -Werror (#<!-- -->73966)" (#<!-- -->74506)")


---
Full diff: https://github.com/llvm/llvm-project/pull/78761.diff


1 Files Affected:

- (modified) libc/src/signal/linux/CMakeLists.txt (-1) 


``````````diff
diff --git a/libc/src/signal/linux/CMakeLists.txt b/libc/src/signal/linux/CMakeLists.txt
index d0cb0a79312b841..77a2453b25a0ac6 100644
--- a/libc/src/signal/linux/CMakeLists.txt
+++ b/libc/src/signal/linux/CMakeLists.txt
@@ -41,7 +41,6 @@ add_object_library(
     -fomit-frame-pointer
     -O3
     -Wframe-larger-than=0
-    -Werror
     -Wno-attributes
     # asan creates asan.module_ctor which uses stack space, causing warnings.
     -fno-sanitize=address

``````````

</details>


https://github.com/llvm/llvm-project/pull/78761


More information about the libc-commits mailing list