openbsd-ports/devel/cmake/patches/patch-Modules_Compiler_G95-Fortran_cmake
dcoppa 195d9f90cf Update to cmake-2.8.3
OK sthen@, landry@ (who also tested this in a bulk build)
2010-11-15 11:39:08 +00:00

12 lines
542 B
Plaintext

$OpenBSD: patch-Modules_Compiler_G95-Fortran_cmake,v 1.2 2010/11/15 11:39:08 dcoppa Exp $
--- Modules/Compiler/G95-Fortran.cmake.orig Wed Nov 3 20:58:27 2010
+++ Modules/Compiler/G95-Fortran.cmake Wed Nov 10 10:34:50 2010
@@ -1,7 +1,5 @@
set(CMAKE_Fortran_FLAGS_INIT "")
set(CMAKE_Fortran_FLAGS_DEBUG_INIT "-g")
-set(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os")
-set(CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3")
set(CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
set(CMAKE_Fortran_MODDIR_FLAG "-fmod=")
set(CMAKE_Fortran_VERBOSE_FLAG "-v")