SHA256
1
0
forked from pool/mvapich2

Accepting request 823019 from home:eeich:branches:science:HPC

- For HPC builds check for gnu compiler suite version >= 10 and
  set -fallow-argument-mismatch.

OBS-URL: https://build.opensuse.org/request/show/823019
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=75
This commit is contained in:
Nicolas Morey-Chaisemartin 2020-07-28 11:49:28 +00:00 committed by Git OBS Bridge
parent a52bb4a6a5
commit 0378ef8d73
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jul 25 07:03:57 UTC 2020 - Egbert Eich <eich@suse.com>
- For HPC builds check for gnu compiler suite version >= 10 and
set -fallow-argument-mismatch.
-------------------------------------------------------------------
Thu Jul 23 15:53:00 UTC 2020 - Egbert Eich <eich@suse.com>

View File

@ -405,7 +405,7 @@ cp /usr/share/automake*/config.* .
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
# GCC10 needs an extra flag to allow badly passed parameters
%if 0%{?suse_version} > 1500
%if 0%{?suse_version} > 1500 || 0%{?hpc_gnu_dep_version} >= 10
export FFLAGS="-fallow-argument-mismatch $FFLAGS"
%endif