packages: tolua++/tolua++.spec - compile with -fPIC, this should fix 64bits...
lisu
lisu at pld-linux.org
Mon Nov 8 15:04:57 CET 2010
Author: lisu Date: Mon Nov 8 14:04:57 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- compile with -fPIC, this should fix 64bits build
---- Files affected:
packages/tolua++:
tolua++.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: packages/tolua++/tolua++.spec
diff -u packages/tolua++/tolua++.spec:1.14 packages/tolua++/tolua++.spec:1.15
--- packages/tolua++/tolua++.spec:1.14 Mon Nov 8 14:59:44 2010
+++ packages/tolua++/tolua++.spec Mon Nov 8 15:04:49 2010
@@ -9,6 +9,7 @@
Source0: http://www.codenix.com/~tolua/%{name}-%{version}.tar.bz2
# Source0-md5: 100aa6907b8108582080b37d79c0afd7
Patch0: %{name}-lua51.patch
+Patch1: %{name}-compile.patch
URL: http://www.codenix.com/~tolua/
BuildRequires: lua51-devel
BuildRequires: scons
@@ -60,11 +61,12 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%scons
-%{__cc} src/lib/tolua_{event,is,map,push,to}.o -fPIC -shared -llua51 -ldl -lm -o lib/libtolua++.so
+%{__cc} src/lib/tolua_{event,is,map,push,to}.o -shared -llua51 -ldl -lm -o lib/libtolua++.so
%{__cc} -o bin/tolua++ src/bin/toluabind.o src/bin/tolua.o -Llib -ltolua++
%install
@@ -102,6 +104,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2010/11/08 14:04:49 lisu
+- compile with -fPIC, this should fix 64bits build
+
Revision 1.14 2010/11/08 13:59:44 lisu
- fix x86_64 build
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tolua++/tolua++.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list