diff options
Diffstat (limited to 'packaging/1001-TIZEN-LAPACK-GCC13.patch')
-rw-r--r-- | packaging/1001-TIZEN-LAPACK-GCC13.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/1001-TIZEN-LAPACK-GCC13.patch b/packaging/1001-TIZEN-LAPACK-GCC13.patch new file mode 100644 index 00000000..543365d1 --- /dev/null +++ b/packaging/1001-TIZEN-LAPACK-GCC13.patch @@ -0,0 +1,14 @@ +diff --git a/CMAKE/CheckLAPACKCompilerFlags.cmake b/CMAKE/CheckLAPACKCompilerFlags.cmake +index acc51629..ca51fd8d 100644 +--- a/CMAKE/CheckLAPACKCompilerFlags.cmake ++++ b/CMAKE/CheckLAPACKCompilerFlags.cmake +@@ -19,6 +19,9 @@ if( CMAKE_Fortran_COMPILER_ID STREQUAL "GNU" ) + if( "${CMAKE_Fortran_FLAGS}" MATCHES "-ffpe-trap=[izoupd]") + set( FPE_EXIT TRUE ) + endif() ++ if(CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER 10.0.0) ++ set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fallow-argument-mismatch") ++ endif() + + # Intel Fortran + elseif( CMAKE_Fortran_COMPILER_ID STREQUAL "Intel" ) |