SHA256
3
0
forked from pool/gawk

Accepting request 1087200 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1087200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gawk?expand=0&rev=55
This commit is contained in:
Dominique Leuenberger 2023-05-17 08:52:30 +00:00 committed by Git OBS Bridge
commit a4724749e9
2 changed files with 19 additions and 1 deletions

View File

@ -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>

View File

@ -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)