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 time ./gzip -d < $tmpfile.gz > /dev/null
} }
%if %{do_profiling} %if %{do_profiling}
make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-generate" make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-generate" LDFLAGS="-pie"
profile_gzip profile_gzip
make clean %{?_smp_mflags} make clean %{?_smp_mflags}
make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-use" make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-use" LDFLAGS="-pie"
%else %else
make %{?_smp_mflags} make %{?_smp_mflags} LDFLAGS="-pie"
%endif %endif
%check %check