From 923c2527afe4cee0debec045892dfc5d51cd282e Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Thu, 16 Sep 2021 10:38:38 +0200 Subject: gnu: gmtp: Fix build. * gnu/packages/libusb.scm (gmtp)[arguments]: Pass '-fcommon' to CFLAGS. --- gnu/packages/libusb.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu/packages/libusb.scm') 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 ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Christopher Howard +;;; Copyright © 2021 Guillaume Le Vaillant ;;; ;;; 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"))))) -- cgit 1.4.1