c079d1f2bf
Successfully gone through a bulk build. Feedback landry@, Vadim Zhukov, Amit Kulkarni Bulk build and OK landry@
15 lines
627 B
Plaintext
15 lines
627 B
Plaintext
$OpenBSD: patch-Modules_Compiler_GNU-Fortran_cmake,v 1.3 2012/11/11 17:13:31 dcoppa Exp $
|
|
--- Modules/Compiler/GNU-Fortran.cmake.orig Fri Nov 2 08:16:46 2012
|
|
+++ Modules/Compiler/GNU-Fortran.cmake Fri Nov 2 08:17:05 2012
|
|
@@ -4,10 +4,6 @@ __compiler_gnu(Fortran)
|
|
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-ffixed-form")
|
|
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-ffree-form")
|
|
|
|
-# No -DNDEBUG for Fortran.
|
|
-set(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os")
|
|
-set(CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3")
|
|
-
|
|
# We require updates to CMake C++ code to support preprocessing rules
|
|
# for Fortran.
|
|
set(CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE)
|