aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/libusb.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-09-16 10:38:38 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-09-16 10:38:38 +0200
commit923c2527afe4cee0debec045892dfc5d51cd282e (patch)
treee4fb203ceb169fd01a9deb7070a216eada6ccfcc /gnu/packages/libusb.scm
parent281b4debe9b933e6c007b48f424deb0278f548b4 (diff)
downloadguix-923c2527afe4cee0debec045892dfc5d51cd282e.tar
guix-923c2527afe4cee0debec045892dfc5d51cd282e.tar.gz
gnu: gmtp: Fix build.
* gnu/packages/libusb.scm (gmtp)[arguments]: Pass '-fcommon' to CFLAGS.
Diffstat (limited to 'gnu/packages/libusb.scm')
-rw-r--r--gnu/packages/libusb.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 5a5d867c60..db4d07c84a 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Christopher Howard <christopher@librehacker.com>
+;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -543,6 +544,7 @@ proposed for standardization.")
'(#:configure-flags
(let ((libid3tag (assoc-ref %build-inputs "libid3tag")))
(list
+ "CFLAGS=-fcommon"
;; libid3tag provides no .pc file, so pkg-config fails to find them.
(string-append "ID3TAG_CFLAGS=-I" libid3tag "/include")
(string-append "ID3TAG_LIBS=-L" libid3tag "/lib -lid3tag -lz")))))