Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
627ffb4b
Commit
627ffb4b
authored
Aug 10, 2016
by
Brad King
💬
Committed by
Kitware Robot
Aug 10, 2016
Browse files
Merge topic 'NAG-Fortran-no-fPIE'
e9c98426
NAG: Use -PIC for Fortran position-independent executable code
parents
f4cec30b
e9c98426
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Compiler/NAG-Fortran.cmake
View file @
627ffb4b
...
...
@@ -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"
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment