SHA256
3
0
forked from pool/gzip
Marcus Meissner 2014-12-19 10:35:31 +00:00 committed by Git OBS Bridge
parent 4741d0043a
commit 416edfac4c

View File

@ -72,12 +72,12 @@ profile_gzip()
time ./gzip -d < $tmpfile.gz > /dev/null
}
%if %{do_profiling}
make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-generate"
make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-generate" LDFLAGS="-pie"
profile_gzip
make clean %{?_smp_mflags}
make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-use"
make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-use" LDFLAGS="-pie"
%else
make %{?_smp_mflags}
make %{?_smp_mflags} LDFLAGS="-pie"
%endif
%check