diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-12-03 14:57:19 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-12-03 14:59:05 +0100 |
commit | 6d34e751b545120fd4455cb6d718d02c9188d874 (patch) | |
tree | ba334e31c7b11672275463889fd296347a09eb92 /gnu/packages/firmware.scm | |
parent | d897f1b440fde666415be4027fa71ea91f6084fb (diff) |
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
Diffstat (limited to 'gnu/packages/firmware.scm')
-rw-r--r-- | gnu/packages/firmware.scm | 6 |
1 files 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 |