SPECS: logg.spec - build on 64 bits

lisu lisu at pld-linux.org
Tue Aug 21 13:35:10 CEST 2007


Author: lisu                         Date: Tue Aug 21 11:35:10 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build on 64 bits

---- Files affected:
SPECS:
   logg.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/logg.spec
diff -u SPECS/logg.spec:1.6 SPECS/logg.spec:1.7
--- SPECS/logg.spec:1.6	Sat Aug 18 19:35:21 2007
+++ SPECS/logg.spec	Tue Aug 21 13:35:05 2007
@@ -65,14 +65,16 @@
 	FLAGS="%{rpmcflags}" \
 	LDFLAGS="%{rpmldflags}"
 
-%{__cc} -shared %{name}.o -o liblogg.so -lvorbisfile `allegro-config --libs`
+%{__cc} -fPIC -c logg.c
+%{__cc} -shared logg.o -o liblogg.so -lvorbisfile `allegro-config --libs`
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir}}
 
 %{__make} -f Makefile.unix install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	LIBDIR="%{_libdir}"
 
 install *_ogg $RPM_BUILD_ROOT%{_bindir}
 install liblogg.so $RPM_BUILD_ROOT%{_libdir}
@@ -99,6 +101,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2007/08/21 11:35:05  lisu
+- build on 64 bits
+
 Revision 1.6  2007/08/18 17:35:21  shadzik
 - 1 job at a time
 - fix liblogg.so making
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/logg.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list