meta-openembedded/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch
Leon Anavi 57b88d28b3
python3-ckzg: Add recipe version 2.1.1
Add release 2.1.1:

- Fix python release publishingFix python release publishing
- Call test_compute_cells in python bindings
- Fix elixir default path
- Re-enable spec test comparison check
- chore(rust): Cleanup fmt/clippy and ci
- feat: add arbitrary feature
- Update github checkout actions

Apply the same patches used in the Fedora package, which are
currently pending upstream acceptance:
https://src.fedoraproject.org/rpms/python-ckzg/tree/f42

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-15 12:01:07 -07:00

31 lines
698 B
Diff

From: rpm-build <rpm-build>
Date: Tue, 26 Nov 2024 11:13:18 +0100
Subject: [PATCH] Disable Werror
Upstream-Status: Pending
Signed-off-by: rpm-build <rpm-build>
diff --git a/src/Makefile b/src/Makefile
index c688005..01b7a80 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -20,7 +20,7 @@ ifeq ($(PLATFORM),Darwin)
endif
# The base compiler flags. More can be added on command line.
-CFLAGS += -I. -I../inc -O2 -Werror
+CFLAGS += -I. -I../inc
# Enable a bunch of optional warnings.
CFLAGS += \
-pedantic \
@@ -81,7 +81,7 @@ ifeq ($(PLATFORM),Windows)
else
CC ?= clang
CFLAGS += -fPIC
- CFLAGS += -Wmissing-braces -Wformat=2
+ CFLAGS += -Wmissing-braces
endif
# Settings for blst.