Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ac083c
commit c123d2b
Showing
3 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c123d2b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could it be that this commit changes the default optimization from nothing to -O2 if you do just ./configure ? I did notice longer compilation times recently.
c123d2b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kmdewaal That is correct. However, ccache (or distcc) should keep the incremental compile times short.
Compiling with optimizations also enables some of the warning flags to actually work.
c123d2b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I personally do not approve of this commit because of the following reasons.
I think that it would have been better to propose and motivate this change in a git issue.
c123d2b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--extra-cxxflags=-Ox
instead of--compile-type=debug
wherex
is0
for old behavior, i.e no optimizations at all, even ones you would expect, pessimized code to allow break points anywhere.I'm looking into adding an easier optimization setting than above.
#406
#411 no discussion of optimization flags
I did mention this change on the mythtv-dev list.