Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
yzong
parabix-devel
Commits
7c5739cb
Commit
7c5739cb
authored
5 years ago
by
Rob Cameron
Browse files
Options
Download
Email Patches
Plain Diff
Ensure consistent inline visibility in RelWithDebInfo and Debug builds
parent
4e7d21d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
7c5739cb
...
...
@@ -131,7 +131,7 @@ endif()
include
(
CheckCXXCompilerFlag
)
check_cxx_compiler_flag
(
"-fvisibility-inlines-hidden"
SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
)
if
(
SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
)
set
(
CMAKE_CXX_FLAGS
_RELEASE
"
${
CMAKE_CXX_FLAGS
_RELEASE
}
-fvisibility-inlines-hidden"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fvisibility-inlines-hidden"
)
endif
()
# no pie disables the generation of position-independent executables, which is a default security feature of newer compiles
...
...
This diff is collapsed.
Click to expand it.
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