diff options
author | Tae-Young Chung <ty83.chung@samsung.com> | 2023-06-16 12:46:32 +0900 |
---|---|---|
committer | Tae-Young Chung <ty83.chung@samsung.com> | 2023-06-16 12:49:26 +0900 |
commit | 587a2b72c848920dedb232cfae7eb2f79e4191dd (patch) | |
tree | d40f3425f627f329b9808dff1109174d77824da0 | |
parent | fb77de395f4020331fbb68816033b035bd204eac (diff) | |
download | lapack-accepted/tizen/unified/dev/20230726.115427.tar.gz lapack-accepted/tizen/unified/dev/20230726.115427.tar.bz2 lapack-accepted/tizen/unified/dev/20230726.115427.zip |
Fix build break on gcc13accepted/tizen/unified/dev/20230726.115427tizen_dev
On gcc12, followling errors occur.
```
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
``
To degrade the error to a warning, add fortran option.
Refer to https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html#index-fallow-argument-mismatch
Change-Id: I2eaf2aa257f0a6e5b925a1b5e3fed124a53e0402
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
-rw-r--r-- | packaging/lapack.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/lapack.spec b/packaging/lapack.spec index e31f9333..d29d8187 100644 --- a/packaging/lapack.spec +++ b/packaging/lapack.spec @@ -117,6 +117,8 @@ linear algebra. %setup -q %build +export FFLAGS="$FFLAGS -fallow-argument-mismatch" + mkdir -p build cd build |