aboutsummaryrefslogtreecommitdiffstats
path: root/main/pciutils/fix-linking-pci-malloc-Makefile.patch
diff options
context:
space:
mode:
authork0r10n <k0r10n.dev@gmail.com>2014-10-14 19:07:30 +0400
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-16 14:47:54 +0000
commitd42e76812d37aeb805ea7893a95fc7627b4fc4d9 (patch)
tree31c9ad2af8ea0b3516cae76f04cb266eb0a7008b /main/pciutils/fix-linking-pci-malloc-Makefile.patch
parente0821556e6c9c977f6e1e9b97ca752261e8b4d7e (diff)
downloadaports-d42e76812d37aeb805ea7893a95fc7627b4fc4d9.tar.bz2
aports-d42e76812d37aeb805ea7893a95fc7627b4fc4d9.tar.xz
main/pciutils: Added -fPIC flag to fix pci_malloc relocation
Diffstat (limited to 'main/pciutils/fix-linking-pci-malloc-Makefile.patch')
-rw-r--r--main/pciutils/fix-linking-pci-malloc-Makefile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/pciutils/fix-linking-pci-malloc-Makefile.patch b/main/pciutils/fix-linking-pci-malloc-Makefile.patch
new file mode 100644
index 0000000000..a2b5f01f11
--- /dev/null
+++ b/main/pciutils/fix-linking-pci-malloc-Makefile.patch
@@ -0,0 +1,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