aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libusb/libusb-0.1.8/amd64-fPIC.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libusb/libusb-0.1.8/amd64-fPIC.patch')
-rw-r--r--recipes/libusb/libusb-0.1.8/amd64-fPIC.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/libusb/libusb-0.1.8/amd64-fPIC.patch b/recipes/libusb/libusb-0.1.8/amd64-fPIC.patch
new file mode 100644
index 0000000000..b8cfdbe697
--- /dev/null
+++ b/recipes/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@