Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
1e698833ca |
13
gmp.changes
13
gmp.changes
@@ -1,16 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 27 08:25:36 UTC 2025 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Manually select the z13/z14 architecture level specific assembly routines
|
||||
for s390x and SLFO since GMP lacks fat binary support there and also lacks
|
||||
a way to auto-detect the architecture level used at compile-time.
|
||||
[jsc#PED-3270]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 27 11:03:46 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 22 11:51:01 UTC 2023 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
|
14
gmp.spec
14
gmp.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gmp
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -78,18 +78,10 @@ huge numbers (integer and floating point).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1
|
||||
%patch -P 2 -p1
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
# s390x lacks fat binary support and the gmp configury does not figure
|
||||
# the architecture level enabled by the compiler. For SLFO make it
|
||||
# use the z13/z14 architecture specific routines.
|
||||
%ifarch s390x
|
||||
%if 0%{?suse_version} >= 1600 && !0%{?is_opensuse}
|
||||
export MPN_PATH="s390_64/z14 s390_64/z13 s390_64 generic"
|
||||
%endif
|
||||
%endif
|
||||
export CFLAGS="%{optflags} -fexceptions"
|
||||
%configure \
|
||||
--disable-static \
|
||||
|
Reference in New Issue
Block a user