SHA256
1
0
forked from pool/bison

Accepting request 663211 from home:marxin:branches:devel:tools:compiler

- Do not build tests with -fprofile-generate in order to overwrite
  gcda files (boo#1120868).

OBS-URL: https://build.opensuse.org/request/show/663211
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=60
This commit is contained in:
Martin Pluskal 2019-01-07 08:53:09 +00:00 committed by Git OBS Bridge
parent 29099fdcb4
commit 3c99f881e1
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 6 20:44:43 UTC 2019 - Martin Liška <mliska@suse.cz>
- Do not build tests with -fprofile-generate in order to overwrite
gcda files (boo#1120868).
-------------------------------------------------------------------
Thu Dec 27 03:40:07 UTC 2018 - sean@suspend.net

View File

@ -1,7 +1,7 @@
#
# spec file for package bison
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -54,7 +54,7 @@ Bison is a parser generator similar to yacc(1).
gl_cv_func_printf_infinite_long_double=yes
%if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check
make %{?_smp_mflags} CFLAGS="%{optflags}" check
make %{?_smp_mflags} clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1
%else