]> git.pld-linux.org Git - packages/xz.git/commitdiff
- linking and profiling fixed.
authorPaweł Sikora <pluto@pld-linux.org>
Sun, 12 Jun 2005 15:42:48 +0000 (15:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xz.spec -> 1.4

xz.spec

diff --git a/xz.spec b/xz.spec
index 97d88ec483df17aa0773d5a1c4b9663da5429d9b..fc7c177c631f03f9b871b2f6ccb33f6031b88d0d 100644 (file)
--- a/xz.spec
+++ b/xz.spec
@@ -55,8 +55,9 @@ Cechy LZMA:
 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
@@ -70,7 +71,7 @@ cat lzma *.o > test2
 %{__make} \
        CXX="%{__cxx}" \
        CFLAGS="%{rpmcflags} -fprofile-use -c" \
-       LDFLAGS="%{rpmldflags} -fprofile-use"
+       LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.256145 seconds and 4 git commands to generate.