aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-tar/enable-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lua-tar/enable-pic.patch')
-rw-r--r--testing/lua-tar/enable-pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/lua-tar/enable-pic.patch b/testing/lua-tar/enable-pic.patch
new file mode 100644
index 0000000000..ab234e2cea
--- /dev/null
+++ b/testing/lua-tar/enable-pic.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.orig
++++ b/Makefile
+@@ -13,7 +13,7 @@
+ DEPS = $(SRCS:.c=.d)
+
+ CC = gcc
+-CFLAGS = -O2 -Wall
++CFLAGS = -O2 -Wall -fPIC
+ LDFLAGS = -s
+ LIBS =
+ DLEXT = so