freebsd-ports/devel/libpci/files/patch-Makefile
Mark Linimon c44e7878b1 Fix build; also add -fPIC for amd64.
Submitted by:	maintainer
Approved by:	portmgr (self)
Tested on:	pointyhat
2007-11-11 15:53:03 +00:00

12 lines
383 B
Text

--- Makefile.orig Sat Jan 4 15:53:01 2003
+++ Makefile Fri Jun 13 21:20:28 2003
@@ -1,8 +1,7 @@
# Makefile for The PCI Utilities
# (c) 1998--2007 Martin Mares <mj@ucw.cz>
-OPT=-O2
-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+=-fPIC -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
VERSION=2.2.8
DATE=2007-10-19