Accepting request 1011108 from devel:tools:compiler

OBS-URL: https://build.opensuse.org/request/show/1011108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bison?expand=0&rev=65
This commit is contained in:
Dominique Leuenberger 2022-10-17 12:57:14 +00:00 committed by Git OBS Bridge
commit c8cd79ad17
2 changed files with 8 additions and 11 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jul 31 05:56:31 UTC 2022 - Stephan Kulow <coolo@suse.com>
- Remove profiling support. Bison's performance is not really key to
rebuild cycles, but as bison is a bootstrap package, it's own build
time can hurt - especially if it's not reproducible.
-------------------------------------------------------------------
Wed Nov 17 12:07:50 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package bison
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -48,17 +48,7 @@ Bison is a parser generator similar to yacc(1).
--docdir=%{_docdir}/%{name} \
gl_cv_func_printf_directive_n=yes \
gl_cv_func_printf_infinite_long_double=yes
%ifarch armv6hl
%define do_profiling 0
%endif
%if 0%{?do_profiling}
%make_build CFLAGS="%{optflags} %{cflags_profile_generate}"
%make_build CFLAGS="%{optflags}" check
%make_build clean
%make_build CFLAGS="%{optflags} %{cflags_profile_feedback}"
%else
%make_build CFLAGS="%{optflags}"
%endif
%check
%ifnarch armv6hl