summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libaio/files/libaio-0.3.15-2.5-2-Makefile.patch')
-rw-r--r--dev-libs/libaio/files/libaio-0.3.15-2.5-2-Makefile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/libaio/files/libaio-0.3.15-2.5-2-Makefile.patch b/dev-libs/libaio/files/libaio-0.3.15-2.5-2-Makefile.patch
new file mode 100644
index 000000000000..ee108d3ee935
--- /dev/null
+++ b/dev-libs/libaio/files/libaio-0.3.15-2.5-2-Makefile.patch
@@ -0,0 +1,11 @@
+diff -ruN libaio-0.3.15-2.5-2.old/src/Makefile libaio-0.3.15-2.5-2/src/Makefile
+--- libaio-0.3.15-2.5-2.old/src/Makefile 2002-09-20 08:02:41.000000000 -0400
++++ libaio-0.3.15-2.5-2/src/Makefile 2003-11-30 15:07:29.338469000 -0500
+@@ -1,6 +1,6 @@
+ prefix=/usr
+
+-CFLAGS=-nostdlib -nostartfiles -Wall -I. -g -O2
++CFLAGS=-nostdlib -nostartfiles -Wall -I. -g -O2 -fPIC
+ SO_CFLAGS=-shared $(CFLAGS)
+ L_CFLAGS=$(CFLAGS)
+ LINK_FLAGS=-L.