[Cmake-commits] CMake branch, next, updated. v3.6.1-1200-ga15e369
Brad King
brad.king at kitware.com
Tue Aug 9 11:22:21 EDT 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via a15e3696ff5b80792bc6de10a27b1826735f1825 (commit)
via e9c984267e5539b798a2b1af8431e5715f261cfd (commit)
from 0ed4b78da380e9c0f2ed5c2489863bfe47124c09 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a15e3696ff5b80792bc6de10a27b1826735f1825
commit a15e3696ff5b80792bc6de10a27b1826735f1825
Merge: 0ed4b78 e9c9842
Author: Brad King <brad.king at kitware.com>
AuthorDate: Tue Aug 9 11:22:20 2016 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Aug 9 11:22:20 2016 -0400
Merge topic 'NAG-Fortran-no-fPIE' into next
e9c98426 NAG: Use -PIC for Fortran position-independent executable code
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e9c984267e5539b798a2b1af8431e5715f261cfd
commit e9c984267e5539b798a2b1af8431e5715f261cfd
Author: Neil Carlson <neil.n.carlson at gmail.com>
AuthorDate: Tue Aug 9 11:14:13 2016 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Tue Aug 9 11:15:14 2016 -0400
NAG: Use -PIC for Fortran position-independent executable code
The Numerical Algorithms Group (NAG) Fortran compiler documents -PIC for
position-independent code and does not have a separate option for PIE.
We added `-PIC` for PIC in commit v2.8.11~174^2 (NAG: Use -PIC for
Fortran position-independent code, 2013-02-18). Follow up for PIE.
Closes: #16236
diff --git a/Modules/Compiler/NAG-Fortran.cmake b/Modules/Compiler/NAG-Fortran.cmake
index 18f141e..39aae18 100644
--- a/Modules/Compiler/NAG-Fortran.cmake
+++ b/Modules/Compiler/NAG-Fortran.cmake
@@ -33,3 +33,4 @@ set(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-PIC")
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed")
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free")
set(CMAKE_Fortran_COMPILE_OPTIONS_PIC "-PIC")
+set(CMAKE_Fortran_COMPILE_OPTIONS_PIE "-PIC")
-----------------------------------------------------------------------
Summary of changes:
Modules/Compiler/NAG-Fortran.cmake | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list