From 4c11d9ef24c2e5ee529f49cdc62147c7dcfdc4d9 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sun, 4 Oct 2020 19:38:36 +0200 Subject: gnu: pciutils: Explicity declare the _FILE_OFFSET_BITS we want. * gnu/packages/pciutils.scm (pciutils)[arguments]<#:phases>[configure]: Pass CFLAGS. --- gnu/packages/pciutils.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/pciutils.scm b/gnu/packages/pciutils.scm index c992988437..1e35e58a3f 100644 --- a/gnu/packages/pciutils.scm +++ b/gnu/packages/pciutils.scm @@ -87,7 +87,10 @@ (("^IDSDIR=.*$") ;; Installation directory of 'pci.ids.gz'. - "IDSDIR = $(SHAREDIR)/hwdata\n")) + "IDSDIR = $(SHAREDIR)/hwdata\n") + (("^OPT=") + "OPT?=")) + (setenv "OPT" (getenv "CFLAGS")) #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) -- cgit 1.4.1