summaryrefslogtreecommitdiffstats
path: root/testing/lua-tar/enable-pic.patch
blob: ab234e2cea410d30ef387d7b8e0c16d8ff3cc2fc (plain)
1
2
3
4
5
6
7
8
9
10
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