Skip to content

Commit

Permalink
[GR-33681] [GR-23874] Backport: LLVM 12's strip needs to be told expl…
Browse files Browse the repository at this point in the history
…icitly to preserve the .llvmbc bitcode section

PullRequest: truffleruby/2974
  • Loading branch information
eregon committed Oct 13, 2021
2 parents 5f57e95 + 604d6c0 commit 3cb06d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cext/ABI_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21.3.0
21.3.0.1
2 changes: 1 addition & 1 deletion lib/truffle/rbconfig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ module RbConfig
'rubyarchhdrdir' => "#{prefix}/lib/cext/include",
'rubyhdrdir' => "#{prefix}/lib/cext/include",
'SOEXT' => Truffle::Platform::SOEXT.dup,
'STRIP' => strip,
'STRIP' => "#{strip} --keep-section=.llvmbc",
'sysconfdir' => "#{prefix}/etc", # doesn't exist, as in MRI
'target_cpu' => host_cpu,
'target_os' => host_os,
Expand Down

0 comments on commit 3cb06d2

Please sign in to comment.