summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch b/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch
new file mode 100644
index 0000000000..9b0baa358a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch
@@ -0,0 +1,30 @@
1From: rpm-build <rpm-build>
2Date: Tue, 26 Nov 2024 11:13:18 +0100
3Subject: [PATCH] Disable Werror
4
5Upstream-Status: Pending
6
7Signed-off-by: rpm-build <rpm-build>
8
9diff --git a/src/Makefile b/src/Makefile
10index c688005..01b7a80 100644
11--- a/src/Makefile
12+++ b/src/Makefile
13@@ -20,7 +20,7 @@ ifeq ($(PLATFORM),Darwin)
14 endif
15
16 # The base compiler flags. More can be added on command line.
17-CFLAGS += -I. -I../inc -O2 -Werror
18+CFLAGS += -I. -I../inc
19 # Enable a bunch of optional warnings.
20 CFLAGS += \
21 -pedantic \
22@@ -81,7 +81,7 @@ ifeq ($(PLATFORM),Windows)
23 else
24 CC ?= clang
25 CFLAGS += -fPIC
26- CFLAGS += -Wmissing-braces -Wformat=2
27+ CFLAGS += -Wmissing-braces
28 endif
29
30 # Settings for blst.