Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Enforce CPU so that LLVM can cross-inline Kotlin and clang bitcode #2856

Merged
merged 2 commits into from
Apr 9, 2019
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion konan/konan.properties
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ targetSysRoot.linux_x64 = target-gcc-toolchain-3-linux-x86-64/x86_64-unknown-lin
# targetSysroot-relative.
libGcc.linux_x64 = ../../lib/gcc/x86_64-unknown-linux-gnu/4.8.5
llvmLtoFlags.linux_x64 =
llvmLtoOptFlags.linux_x64 = -O3 -function-sections
llvmLtoOptFlags.linux_x64 = -O3 -function-sections -mcpu=x86-64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not to move it to llvmLtoFlags?

llvmLtoNooptFlags.linux_x64 = -O1
llvmLtoDynamicFlags.linux_x64 = -relocation-model=pic
llvmLlcFlags.linux_x64 = -march=x86-64
Expand Down