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

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Fri Jan 19 11:02:31 PST 2024


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

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


>From 01a28d80ca8c0ebf89f974bb63daf4516fa55b36 Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers at google.com>
Date: Fri, 19 Jan 2024 11:01:14 -0800
Subject: [PATCH] [libc] remove extra -Werror

-Werror is now a global default as of
commit c52b467875e2 ("Reapply "[libc] build with -Werror (#73966)" (#74506)")
---
 libc/src/signal/linux/CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libc/src/signal/linux/CMakeLists.txt b/libc/src/signal/linux/CMakeLists.txt
index d0cb0a79312b84..77a2453b25a0ac 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



More information about the libc-commits mailing list