meta-openembedded/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0001-Let-override-CC.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

22 lines
525 B
Diff

From: Peter Lemenkov <lemenkov@gmail.com>
Date: Wed, 6 Nov 2024 16:35:23 +0300
Subject: [PATCH] Let override CC
Upstream-Status: Pending
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
diff --git a/src/Makefile b/src/Makefile
index b733a11..c688005 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -79,7 +79,7 @@ ifeq ($(PLATFORM),Windows)
CFLAGS += -D_CRT_SECURE_NO_WARNINGS
CFLAGS += -Wno-missing-braces -Wno-format
else
- CC = clang
+ CC ?= clang
CFLAGS += -fPIC
CFLAGS += -Wmissing-braces -Wformat=2
endif