From 77ded39645ac09a190fe058bf796978bfe2327ba Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 4 Dec 2009 08:51:46 -0500 Subject: 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-.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. --- Modules/Platform/SunOS-GNU-C.cmake | 2 +- Modules/Platform/SunOS-GNU-Fortran.cmake | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Modules/Platform/SunOS-GNU-Fortran.cmake diff --git a/Modules/Platform/SunOS-GNU-C.cmake b/Modules/Platform/SunOS-GNU-C.cmake index c6b1888..6a96c00 100644 --- a/Modules/Platform/SunOS-GNU-C.cmake +++ b/Modules/Platform/SunOS-GNU-C.cmake @@ -1,2 +1,2 @@ include(Platform/SunOS-GNU) -__sunos_compiler_gnu(Fortran) +__sunos_compiler_gnu(C) diff --git a/Modules/Platform/SunOS-GNU-Fortran.cmake b/Modules/Platform/SunOS-GNU-Fortran.cmake new file mode 100644 index 0000000..c6b1888 --- /dev/null +++ b/Modules/Platform/SunOS-GNU-Fortran.cmake @@ -0,0 +1,2 @@ +include(Platform/SunOS-GNU) +__sunos_compiler_gnu(Fortran) -- cgit v0.12