Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
e8871e5b
Commit
e8871e5b
authored
12 years ago
by
Ansgar Philippsen
Browse files
Options
Downloads
Patches
Plain Diff
fixed bug in CMakeList what would trigger rebuilds whenever cmake was re-run
parent
c4f865b7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+4
-1
4 additions, 1 deletion
CMakeLists.txt
with
4 additions
and
1 deletion
CMakeLists.txt
+
4
−
1
View file @
e8871e5b
...
...
@@ -246,7 +246,10 @@ else()
endif
()
if
(
CMAKE_COMPILER_IS_GNUCXX
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
-fno-strict-aliasing"
CACHE STRING
""
FORCE
)
# do not write back into cache, otherwise the compile command line gets expanded
# with multiple -fno-strict-aliasing flags, triggering a complete rebuild whenever
# cmake is run
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
-fno-strict-aliasing"
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment