diff --git a/0003-support-specify-cc.patch b/0003-support-specify-cc.patch new file mode 100644 index 0000000000000000000000000000000000000000..48bed0975f010fd43c1c74cfd99960f6f1cf49be --- /dev/null +++ b/0003-support-specify-cc.patch @@ -0,0 +1,31 @@ +diff -up b43-tools-b43-fwcutter-019/assembler/Makefile.orig b43-tools-b43-fwcutter-019/assembler/Makefile +--- b43-tools-b43-fwcutter-019/assembler/Makefile.orig 2023-04-14 17:57:15.364761457 +0800 ++++ b43-tools-b43-fwcutter-019/assembler/Makefile 2023-04-14 17:57:38.824863305 +0800 +@@ -1,5 +1,5 @@ + # The toolchain definitions +-CC = gcc ++CC ?= gcc + LEX = flex + YACC = bison + SPARSE = sparse +diff -up b43-tools-b43-fwcutter-019/disassembler/Makefile.orig b43-tools-b43-fwcutter-019/disassembler/Makefile +--- b43-tools-b43-fwcutter-019/disassembler/Makefile.orig 2023-04-14 17:57:15.368761475 +0800 ++++ b43-tools-b43-fwcutter-019/disassembler/Makefile 2023-04-14 17:57:52.608923148 +0800 +@@ -1,5 +1,5 @@ + # The toolchain definitions +-CC = gcc ++CC ?= gcc + SPARSE = sparse + + V = @ # Verbose build: make V=1 +diff -up b43-tools-b43-fwcutter-019/fwcutter/Makefile.orig b43-tools-b43-fwcutter-019/fwcutter/Makefile +diff -up b43-tools-b43-fwcutter-019/ssb_sprom/Makefile.orig b43-tools-b43-fwcutter-019/ssb_sprom/Makefile +--- b43-tools-b43-fwcutter-019/ssb_sprom/Makefile.orig 2023-04-14 17:57:15.372761492 +0800 ++++ b43-tools-b43-fwcutter-019/ssb_sprom/Makefile 2023-04-14 17:58:02.344965413 +0800 +@@ -1,5 +1,5 @@ + # The toolchain definitions +-CC = cc ++CC ?= cc + SPARSE = sparse + + V = @ # Verbose build: make V=1 diff --git a/b43-tools.spec b/b43-tools.spec index 84857ebe6c85626d555d9b35b3c0da05a4cb5e60..8b3d11c156e3ad951d85b26547b734a0da67cab1 100644 --- a/b43-tools.spec +++ b/b43-tools.spec @@ -1,6 +1,6 @@ Name: b43-tools Version: 019 -Release: 6 +Release: 7 Summary: Tools for the Broadcom 43xx series WLAN chip License: GPLv2 and GPLv2+ and GPLv3 and BSD-2-Clause and Public Domain URL: https://bues.ch/cgit/b43-tools.git @@ -8,6 +8,7 @@ Source0: https://bues.ch/cgit/b43-tools.git/snapshot/b43-tools-b43-fwcutt BuildRequires: bison flex flex-static python3-devel gcc Patch0001: 0001-b43-tools-fix-format-security-errors.patch Patch0002: 0002-Explicitly-use-python3.patch +Patch0003: 0003-support-specify-cc.patch %description Tools for the Broadcom 43xx series WLAN chip. @@ -50,6 +51,9 @@ cd debug %{python3_sitelib}/* %changelog +* Fri Apr 14 2023 jammyjellyfish - 019-7 +- Support specify CC + * Mon May 31 2021 baizhonggui - 019-6 - Add gcc in BuildRequires