summaryrefslogtreecommitdiff
path: root/packages/libusb/libusb-0.1.8/amd64-fPIC.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libusb/libusb-0.1.8/amd64-fPIC.patch')
-rw-r--r--packages/libusb/libusb-0.1.8/amd64-fPIC.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/libusb/libusb-0.1.8/amd64-fPIC.patch b/packages/libusb/libusb-0.1.8/amd64-fPIC.patch
index e69de29bb2..b8cfdbe697 100644
--- a/packages/libusb/libusb-0.1.8/amd64-fPIC.patch
+++ b/packages/libusb/libusb-0.1.8/amd64-fPIC.patch
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2004-03-27 16:34:18.371955584 +0100
++++ Makefile.in 2004-03-27 16:34:07.796563288 +0100
+@@ -54,7 +54,7 @@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+
+-CFLAGS = $(CFLAGS_EXT)
++CFLAGS = $(CFLAGS_EXT) -fPIC
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CXX = @CXX@