[Cmake-commits] [cmake-commits] king committed SunOS-GNU-C.cmake 1.1 1.2 SunOS-GNU-Fortran.cmake NONE 1.1

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Dec 4 08:51:48 EST 2009


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv16896/Modules/Platform

Modified Files:
	SunOS-GNU-C.cmake 
Added Files:
	SunOS-GNU-Fortran.cmake 
Log Message:
Fix GNU C and Fortran flags on SunOS

The commit "Split GNU compiler information files" intended to move GNU
flags from the platform-wide Platform/SunOS.cmake module into

  Platform/SunOS-GNU-<lang>.cmake

using a helper module Platform/SunOS-GNU.cmake to consolidate flags.
However, it accidentally put Fortran flags in the C language module and
left out the Fortran module altogether.  This fixes those mistakes.


Index: SunOS-GNU-C.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/SunOS-GNU-C.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** SunOS-GNU-C.cmake	2 Dec 2009 14:52:00 -0000	1.1
--- SunOS-GNU-C.cmake	4 Dec 2009 13:51:45 -0000	1.2
***************
*** 1,2 ****
  include(Platform/SunOS-GNU)
! __sunos_compiler_gnu(Fortran)
--- 1,2 ----
  include(Platform/SunOS-GNU)
! __sunos_compiler_gnu(C)

--- NEW FILE: SunOS-GNU-Fortran.cmake ---
include(Platform/SunOS-GNU)
__sunos_compiler_gnu(Fortran)



More information about the Cmake-commits mailing list