Martin Liška 2020-11-20 15:37:50 +00:00 committed by Git OBS Bridge
parent 4eb6db8803
commit dd832b1aa2
2 changed files with 8 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 20 15:37:37 UTC 2020 - Martin Liška <mliska@suse.cz>
- Simplify spec file.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 20 13:11:15 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org> Fri Nov 20 13:11:15 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package jemalloc # spec file for package jemalloc
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -57,16 +57,9 @@ implementation.
%build %build
%define _lto_cflags %{nil} %define _lto_cflags %{nil}
export EXTRA_CFLAGS="%optflags -std=gnu99" export EXTRA_CFLAGS="%optflags -std=gnu99"
%configure --disable-static \ %configure --disable-static --enable-prof \
%ifarch %arm %ifarch %arm
--disable-thp \ --disable-thp
--enable-prof
%else
%ifarch ppc
--disable-prof
%else
--enable-prof
%endif
%endif %endif
make %{?_smp_mflags} make %{?_smp_mflags}