summaryrefslogtreecommitdiff
path: root/user/pciutils/fix-linking-pci-malloc-Makefile.patch
blob: a2b5f01f11c7be45de3f8aa61d473084e753362e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- pciutils-3.2.1/Makefile.orig
+++ pciutils-3.2.1/Makefile
@@ -2,7 +2,7 @@
 # (c) 1998--2013 Martin Mares <mj@ucw.cz>
 
 OPT=-O2
-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC
 
 VERSION=3.2.1
 DATE=2013-11-10