--- pciutils-3.1.5/Makefile	2010-01-19 10:36:35.000000000 +0100
+++ src/Makefile	2010-01-20 18:02:03.346315179 +0100
@@ -1,8 +1,10 @@
 # Makefile for The PCI Utilities
 # (c) 1998--2010 Martin Mares <mj@ucw.cz>
 
-OPT=-O2
-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS_EXT ?= -O2
+CFLAGS= -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes $(CFLAGS_EXT)
+LDFLAGS_EXT ?=
+LDFLAGS = $(LDFLAGS_EXT)
 
 VERSION=3.1.5
 DATE=2010-01-19
