summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/synaptics/files/synaptics-0.14.4-r2-makefile-fpic.patch')
-rw-r--r--x11-drivers/synaptics/files/synaptics-0.14.4-r2-makefile-fpic.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-drivers/synaptics/files/synaptics-0.14.4-r2-makefile-fpic.patch b/x11-drivers/synaptics/files/synaptics-0.14.4-r2-makefile-fpic.patch
new file mode 100644
index 000000000000..09ad34030b40
--- /dev/null
+++ b/x11-drivers/synaptics/files/synaptics-0.14.4-r2-makefile-fpic.patch
@@ -0,0 +1,14 @@
+--- Makefile.orig 2005-12-15 16:07:36.000000000 -0500
++++ Makefile 2005-12-15 16:08:45.000000000 -0500
+@@ -62,9 +62,9 @@
+
+ CCOPTIONS := -pedantic -Wall -Wpointer-arith
+ CCOPTIONS += $(call check_gcc,-fno-merge-constants,)
+-CCOPTIONS += $(call check_gcc,-fno-pic,)
++CCOPTIONS += $(call check_gcc,)
+ CDEBUGFLAGS = -O2
+-CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)"
++CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)" -fPIC
+ CFLAGSCLIENT = $(CDEBUGFLAGS) $(CCOPTIONS) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)" -I$(X_INCLUDES_ROOT)/include
+
+ CC = gcc