Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
faf90550cf | |||
5127621b7b | |||
5ae42b6881 |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 19 17:33:11 UTC 2025 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Use -std=gnu17 for SLE16 and higher to aovid C23 conformance issues
|
||||
with GCC 15.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 27 08:25:36 UTC 2025 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
|
6
gmp.spec
6
gmp.spec
@@ -70,7 +70,7 @@ Group: Development/Languages/C and C++
|
||||
Requires: libgmp10 = %{version}
|
||||
Requires: libgmpxx4 = %{version}
|
||||
Requires(pre): %{install_info_prereq}
|
||||
Requires(preun):%{install_info_prereq}
|
||||
Requires(preun): %{install_info_prereq}
|
||||
|
||||
%description devel
|
||||
These libraries are needed to develop programs which calculate with
|
||||
@@ -90,7 +90,11 @@ huge numbers (integer and floating point).
|
||||
export MPN_PATH="s390_64/z14 s390_64/z13 s390_64 generic"
|
||||
%endif
|
||||
%endif
|
||||
%if %{suse_version} >= 1600
|
||||
export CFLAGS="%{optflags} -fexceptions -std=gnu17"
|
||||
%else
|
||||
export CFLAGS="%{optflags} -fexceptions"
|
||||
%endif
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-cxx \
|
||||
|
Reference in New Issue
Block a user