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

Conversation

olonho
Copy link
Contributor

@olonho olonho commented Apr 9, 2019

No description provided.

@@ -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?

@olonho olonho merged commit dde8e77 into master Apr 9, 2019
@olonho olonho deleted the inliner_workaround branch April 9, 2019 20:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants