When using Clang -O is equivalent to -O2, change it -O2 to make it consistent with other platforms.
Reference: https://clang.llvm.org/docs/ClangCommandLineReference.html#optimization-level
Details
Details
- Reviewers
manu emaste - Commits
- rS350210: arm: Use -O2 instead of -O as optimization flag
Tested on armv7, Orange Pi PC
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Seems reasonable. Was originally introduced in rS173375 but Clang is the default compiler and we can assume that contemporary GCC won't have "the -O2 issues."