From: Tae-Young Chung Date: Fri, 16 Jun 2023 03:46:32 +0000 (+0900) Subject: Fix build break on gcc13 X-Git-Tag: accepted/tizen/unified/dev/20230726.115427^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_dev;p=platform%2Fupstream%2Flapack.git Fix build break on gcc13 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 --- diff --git a/packaging/lapack.spec b/packaging/lapack.spec index e31f933..d29d818 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