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 @@ (define-public pciutils (("^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)