[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: ath9k-htc-*-firmware: Allow implicit function declarations.
From: |
guix-commits |
Subject: |
02/02: gnu: ath9k-htc-*-firmware: Allow implicit function declarations. |
Date: |
Tue, 3 Dec 2024 08:59:34 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 6d34e751b545120fd4455cb6d718d02c9188d874
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Dec 3 14:57:19 2024 +0100
gnu: ath9k-htc-*-firmware: Allow implicit function declarations.
Fixes a regression when building with GCC 14, as is the case since
d6780d79d936832e1b2ea9103eefecd0a838fb16.
* gnu/packages/firmware.scm (ath9k-htc-ar7010-firmware)[arguments]: Add
‘-DCMAKE_C_FLAGS’.
(ath9k-htc-ar9271-firmware)[arguments]: Likewise.
Change-Id: I561ddfd1f6b291b03909ba8f901e3841d93150e8
---
gnu/packages/firmware.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index fe6c1822fa..4b8066c545 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014-2016, 2024 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2017 David Craven <david@craven.ch>
;;; Copyright © 2017, 2018, 2022-2024 Efraim Flashner <efraim@flashner.co.il>
@@ -116,7 +116,8 @@
(list #:target "xtensa-ath9k-elf"
#:tests? #f
#:configure-flags
- #~'("-DCMAKE_SYSTEM_NAME=Generic" ;override default value
+ #~'("-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration"
+ "-DCMAKE_SYSTEM_NAME=Generic" ;override default value
"-DTARGET_MAGPIE=ON")
#:phases
#~(modify-phases %standard-phases
@@ -146,6 +147,7 @@
(package-arguments ath9k-htc-ar7010-firmware)
((#:configure-flags flags)
#~'("-DCMAKE_SYSTEM_NAME=Generic" ;override default value
+ "-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration"
"-DTARGET_K2=ON"))))
(synopsis "Firmware for the Atheros AR9271 USB 802.11n NICs")
(description