Files
main/programming/library/libphonenumber/files/0002-Remove-Werror.patch
T
2025-07-13 16:15:17 +03:00

37 lines
963 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Tue, 29 Apr 2025 19:58:36 +0200
Subject: [PATCH] Remove -Werror
---
cpp/CMakeLists.txt | 2 +-
tools/cpp/CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index ad773567dde8..cd606e50ffb9 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -416,7 +416,7 @@ if (USE_ICU_REGEXP)
endif ()
if (NOT WIN32)
- add_definitions ("-Wall -Werror")
+ add_definitions ("-Wall")
endif ()
include_directories ("src")
diff --git a/tools/cpp/CMakeLists.txt b/tools/cpp/CMakeLists.txt
index 314d91cf64c6..1ded960cc4fc 100644
--- a/tools/cpp/CMakeLists.txt
+++ b/tools/cpp/CMakeLists.txt
@@ -25,7 +25,7 @@ set (
)
if (NOT WIN32)
- add_definitions ("-Wall -Werror")
+ add_definitions ("-Wall")
endif ()
include_directories ("src")