57eaee2ae8
Fixed FindRuby.cmake module (from Vadim Zhukov) Fixed FindJava.cmake and FindJNI.cmake modules when cmake is used outside of our ports tree (problem reported and fix tested by pirofti@) Still "100% tests passed, 0 tests failed out of 197". No fallout in a bulk build. OK jasper@
15 lines
627 B
Plaintext
15 lines
627 B
Plaintext
$OpenBSD: patch-Modules_Compiler_GNU-Fortran_cmake,v 1.2 2011/10/14 17:22:10 dcoppa Exp $
|
|
--- Modules/Compiler/GNU-Fortran.cmake.orig Tue Oct 4 18:09:24 2011
|
|
+++ Modules/Compiler/GNU-Fortran.cmake Fri Oct 7 09:15:14 2011
|
|
@@ -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)
|