Author: stepan Date: Fri Aug 27 10:50:07 2010 New Revision: 107 URL: http://www.serialice.com/trac/serialice/changeset/107
Log: This patch fixes the LUA -fPIC trouble when compiling on x86-64 systems.
Signed-off-by: Stefan Reinauer stepan@coresystems.de
Added: trunk/SerialICE/patches/lua-5.1.4-x64-fix.diff
Added: trunk/SerialICE/patches/lua-5.1.4-x64-fix.diff ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/SerialICE/patches/lua-5.1.4-x64-fix.diff Fri Aug 27 10:50:07 2010 (r107) @@ -0,0 +1,11 @@ +--- src/Makefile.orig 2010-08-27 09:49:26.557070752 +0200 ++++ src/Makefile 2010-08-27 09:49:56.197070358 +0200 +@@ -96,7 +96,7 @@ + $(MAKE) all MYCFLAGS= + + linux: +- $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" ++ $(MAKE) all MYCFLAGS="-fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" + + macosx: + $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-lreadline"