Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tune flags #1095

Merged
merged 1 commit into from
Oct 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions cmake/optimizations.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ else()
if(NOT (APPLE AND CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8))
CheckAndAddFlags(-ffast-math)
endif()
CheckAndAddFlags(-fomit-frame-pointer -mtune=generic)
CheckAndAddFlags(-fomit-frame-pointer)

if(RTTR_OPTIMIZATION_TUNE)
# Adding multiple mtune flags just uses the last one, so adding mtune=generic above is ok
CheckAndAddFlags(-mtune=${RTTR_OPTIMIZATION_TUNE})
endif()

Expand Down
2 changes: 1 addition & 1 deletion external/libutil