packages: tolua++/tolua++-compile.patch (NEW) - add -fPIC to CCFLAGS

lisu lisu at pld-linux.org
Mon Nov 8 15:05:23 CET 2010


Author: lisu                         Date: Mon Nov  8 14:05:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add -fPIC to CCFLAGS

---- Files affected:
packages/tolua++:
   tolua++-compile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/tolua++/tolua++-compile.patch
diff -u /dev/null packages/tolua++/tolua++-compile.patch:1.1
--- /dev/null	Mon Nov  8 15:05:24 2010
+++ packages/tolua++/tolua++-compile.patch	Mon Nov  8 15:05:16 2010
@@ -0,0 +1,11 @@
+--- tolua++-1.0.93/config_linux.py~	2010-11-08 14:58:51.255188000 +0100
++++ tolua++-1.0.93/config_linux.py	2010-11-08 15:03:06.176848667 +0100
+@@ -4,7 +4,7 @@
+ 
+ # Compiler flags (based on Debian's installation of lua)
+ #LINKFLAGS = ['-g']
+-CCFLAGS = ['-I/usr/include/lua51', '-O2', '-ansi', '-Wall']
++CCFLAGS = ['-I/usr/include/lua51', '-O2', '-ansi', '-Wall', '-fPIC']
+ #CCFLAGS = ['-I/usr/include/lua50', '-g']
+ 
+ # this is the default directory for installation. Files will be installed on
================================================================


More information about the pld-cvs-commit mailing list