config: Add -fPIC

Sat, 28 Jul 2012 01:57:50 +0100

author
Tom?s Guisasola Gorham <tomas@tecgraf.puc-rio.br>
date
Sat, 28 Jul 2012 01:57:50 +0100
changeset 13
a120beb5a2f4
parent 12
3658b5ff2bf4
child 14
b4e6b167e020

config: Add -fPIC

config file | annotate | diff | comparison | revisions
--- a/config	Sat Jul 28 01:56:14 2012 +0100
+++ b/config	Sat Jul 28 01:57:50 2012 +0100
@@ -31,6 +31,6 @@
         -Wshadow \
         -Wwrite-strings
 
-CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
-   -I$(COMPAT_DIR) -I$(EXPAT_INC)
+CFLAGS = $(CWARNS) -ansi -O2 -fPIC -I$(LUA_INC) \
+   -I$(EXPAT_INC)
 CC = gcc

mercurial