Initial diff from me and revised diff from dcoppa@. COMPILER tweak from jca@ and many bulks from landry@. Thanks! ok dcoppa@ landry@ jca@
16 lines
596 B
Plaintext
16 lines
596 B
Plaintext
$OpenBSD: patch-Modules_Compiler_GNU-Fortran_cmake,v 1.7 2018/03/14 12:24:54 rsadowski Exp $
|
|
Index: Modules/Compiler/GNU-Fortran.cmake
|
|
--- Modules/Compiler/GNU-Fortran.cmake.orig
|
|
+++ Modules/Compiler/GNU-Fortran.cmake
|
|
@@ -9,10 +9,6 @@ set(CMAKE_Fortran_FORMAT_FREE_FLAG "-ffree-form")
|
|
|
|
set(CMAKE_Fortran_POSTPROCESS_FLAG "-fpreprocessed")
|
|
|
|
-# No -DNDEBUG for Fortran.
|
|
-string(APPEND CMAKE_Fortran_FLAGS_MINSIZEREL_INIT " -Os")
|
|
-string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " -O3")
|
|
-
|
|
# No -isystem for Fortran because it will not find .mod files.
|
|
unset(CMAKE_INCLUDE_SYSTEM_FLAG_Fortran)
|
|
|