From: julie Date: Thu, 23 Dec 2010 00:50:18 +0000 (+0000) Subject: Fixed a bug in the IBM compiler options (-ffixed-form -> -qfixed). X-Git-Tag: submit/tizen/20180313.231549~884 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c2620a72f6f8d1962f66566baf443078a381849;p=platform%2Fupstream%2Flapack.git Fixed a bug in the IBM compiler options (-ffixed-form -> -qfixed). - Chuck Atkins (Kitware) --- diff --git a/CMAKE/CheckLAPACKCompilerFlags.cmake b/CMAKE/CheckLAPACKCompilerFlags.cmake index 8e1a2fae..6d274f2e 100644 --- a/CMAKE/CheckLAPACKCompilerFlags.cmake +++ b/CMAKE/CheckLAPACKCompilerFlags.cmake @@ -38,8 +38,8 @@ elseif( CMAKE_Fortran_COMPILER_ID STREQUAL "VisualAge" ) set( FPE_EXIT TRUE ) endif() - if( NOT ("${CMAKE_Fortran_FLAGS}" MATCHES "-ffixed-form") ) - set( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ffixed_form" + if( NOT ("${CMAKE_Fortran_FLAGS}" MATCHES "-qfixed") ) + set( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qfixed" CACHE STRING "Flags for Fortran compiler." FORCE ) endif()