diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0001-Let-override-CC.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0001-Let-override-CC.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0001-Let-override-CC.patch b/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0001-Let-override-CC.patch new file mode 100644 index 0000000000..c58089cc15 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0001-Let-override-CC.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | From: Peter Lemenkov <lemenkov@gmail.com> | ||
2 | Date: Wed, 6 Nov 2024 16:35:23 +0300 | ||
3 | Subject: [PATCH] Let override CC | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> | ||
8 | |||
9 | diff --git a/src/Makefile b/src/Makefile | ||
10 | index b733a11..c688005 100644 | ||
11 | --- a/src/Makefile | ||
12 | +++ b/src/Makefile | ||
13 | @@ -79,7 +79,7 @@ ifeq ($(PLATFORM),Windows) | ||
14 | CFLAGS += -D_CRT_SECURE_NO_WARNINGS | ||
15 | CFLAGS += -Wno-missing-braces -Wno-format | ||
16 | else | ||
17 | - CC = clang | ||
18 | + CC ?= clang | ||
19 | CFLAGS += -fPIC | ||
20 | CFLAGS += -Wmissing-braces -Wformat=2 | ||
21 | endif | ||