Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CrysFML
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scientific Software
CrysFML
Commits
1d4d95de
Commit
1d4d95de
authored
Nov 23, 2020
by
Elisa Rebolini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add fPIC flags for gfortran
parent
52a25d95
Pipeline
#9318
passed with stages
in 13 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cmake/set_compiler_flags.cmake
cmake/set_compiler_flags.cmake
+2
-2
No files found.
cmake/set_compiler_flags.cmake
View file @
1d4d95de
...
...
@@ -113,12 +113,12 @@ macro(set_compiler_flags)
endif
()
elseif
(
APPLE
)
if
(
CMAKE_BUILD_TYPE STREQUAL Debug
)
set
(
CMAKE_Fortran_FLAGS_DEBUG
"-cpp -Wall -ffree-line-length-none"
)
set
(
CMAKE_Fortran_FLAGS_DEBUG
"-cpp -Wall -ffree-line-length-none
-fPIC
"
)
set
(
OPT_FLAGS
"-g"
)
set
(
OPT_FLAGS1
"-g"
)
set
(
OPT_FLAGS0
"-g"
)
elseif
(
CMAKE_BUILD_TYPE STREQUAL Release
)
set
(
CMAKE_Fortran_FLAGS_RELEASE
"-cpp -ffree-line-length-none"
)
set
(
CMAKE_Fortran_FLAGS_RELEASE
"-cpp -ffree-line-length-none
-fPIC
"
)
set
(
OPT_FLAGS
"-O3"
)
set
(
OPT_FLAGS1
"-O0"
)
set
(
OPT_FLAGS0
"-O0"
)
...
...
Write
Preview
Markdown
is supported
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