os/linux/keg_relocate: remove protodesc_cold exclusion
This needs to be handled more carefully. It probably works fine for bottles built *after* this change was added, but it breaks bottles built before this exclusion was added. Let's remove it for now to limit the extent of the breakage.
This commit is contained in:
parent
04b47bc1aa
commit
ef89522446
@ -19,9 +19,6 @@ class Keg
|
|||||||
|
|
||||||
def change_rpath!(file, old_prefix, new_prefix)
|
def change_rpath!(file, old_prefix, new_prefix)
|
||||||
return false if !file.elf? || !file.dynamic_elf?
|
return false if !file.elf? || !file.dynamic_elf?
|
||||||
# Skip relocation of files with `protodesc_cold` sections because patchelf.rb seems to break them.
|
|
||||||
# https://github.com/Homebrew/homebrew-core/pull/232490#issuecomment-3161362452
|
|
||||||
return false if Hardware::CPU.intel? && file.section_names.include?("protodesc_cold")
|
|
||||||
|
|
||||||
updated = {}
|
updated = {}
|
||||||
old_rpath = file.rpath
|
old_rpath = file.rpath
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user