SPECS: lzma.spec - linking and profiling fixed.

pluto pluto at pld-linux.org
Sun Jun 12 17:42:54 CEST 2005


Author: pluto                        Date: Sun Jun 12 15:42:54 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- linking and profiling fixed.

---- Files affected:
SPECS:
   lzma.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/lzma.spec
diff -u SPECS/lzma.spec:1.3 SPECS/lzma.spec:1.4
--- SPECS/lzma.spec:1.3	Wed Mar 23 18:18:07 2005
+++ SPECS/lzma.spec	Sun Jun 12 17:42:48 2005
@@ -56,8 +56,9 @@
 cd SRC/7zip/Compress/LZMA_Alone
 %{__make} \
 	CXX="%{__cxx}" \
-	CFLAGS="%{rpmcflags} -fprofile-arcs -c" \
-	LDFLAGS="%{rpmldflags} -fprofile-arcs"
+	CFLAGS="%{rpmcflags} -fprofile-generate -c" \
+	LDFLAGS="%{rpmldflags}" \
+	LIB="-lm -lgcov"
 
 cat ../LZMA/* > test1
 cat lzma *.o > test2
@@ -71,7 +72,7 @@
 %{__make} \
 	CXX="%{__cxx}" \
 	CFLAGS="%{rpmcflags} -fprofile-use -c" \
-	LDFLAGS="%{rpmldflags} -fprofile-use"
+	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -93,6 +94,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/06/12 15:42:48  pluto
+- linking and profiling fixed.
+
 Revision 1.3  2005/03/23 17:18:07  glen
 - dropped SourceX-size
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lzma.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list