Accepting request 1086892 from home:AndreasStieger:branches:Base:System
enable profiling OBS-URL: https://build.opensuse.org/request/show/1086892 OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=100
This commit is contained in:
parent
c88a85a202
commit
dd07ce08a8
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 13 08:31:16 UTC 2023 - Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
|
||||
- enable profiling
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 20:38:51 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
|
15
gawk.spec
15
gawk.spec
@ -43,7 +43,20 @@ almost completely POSIX 1003.2 compliant.
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
export CFLAGS="%{optflags}"
|
||||
%configure
|
||||
%if %{do_profiling}
|
||||
%make_build CFLAGS="$CFLAGS %{cflags_profile_generate}" LDFLAGS="-fprofile-arcs"
|
||||
%make_build check \
|
||||
%if 0%{?qemu_user_space_build}
|
||||
NEED_PMA= \
|
||||
%endif
|
||||
%{nil}
|
||||
%make_build clean
|
||||
%make_build CFLAGS="$CFLAGS %{cflags_profile_feedback}" LDFLAGS="-fprofile-arcs"
|
||||
%else
|
||||
%make_build
|
||||
%endif
|
||||
|
||||
%check
|
||||
# Disable pma tests when running in linux-user emulation (bsc#1203140)
|
||||
|
Loading…
Reference in New Issue
Block a user