summaryrefslogtreecommitdiff
path: root/dev-util/qdevicemonitor/files/qdevicemonitor-1.0.1-disable-warnings-as-errors.patch
blob: f614d45323247416850eb844d99b9a80412ba4ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 06c05271298c5cc76d6bc65747928928f202dd9d Mon Sep 17 00:00:00 2001
From: Alexander Lopatin <alopatindev@gmail.com>
Date: Fri, 4 Feb 2022 02:59:59 +0300
Subject: [PATCH] Disable warnings as errors https://bugs.gentoo.org/751349
 https://bugs.gentoo.org/831575

---
 qdevicemonitor/qdevicemonitor.pro | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/qdevicemonitor/qdevicemonitor.pro b/qdevicemonitor/qdevicemonitor.pro
index e76d266..6aa2ecf 100644
--- a/qdevicemonitor/qdevicemonitor.pro
+++ b/qdevicemonitor/qdevicemonitor.pro
@@ -61,11 +61,11 @@ FORMS += \
 
 CONFIG += c++11 link_pkgconfig
 
-QMAKE_CXXFLAGS += -Werror -Wfatal-errors -pedantic-errors -pedantic -Wextra -Wall
+QMAKE_CXXFLAGS += -pedantic-errors -pedantic -Wextra -Wall
 QMAKE_CXXFLAGS_RELEASE -= -O2
 QMAKE_CXXFLAGS_RELEASE += -O3
 
-QMAKE_CFLAGS += -Werror -Wfatal-errors -pedantic-errors -pedantic -Wextra -Wall -std=c11
+QMAKE_CFLAGS += -pedantic-errors -pedantic -Wextra -Wall -std=c11
 QMAKE_CFLAGS_RELEASE -= -O2
 QMAKE_CFLAGS_RELEASE += -O3
 
-- 
2.34.1