mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
Patchelf -> 0.14.3 (#6623)
This commit is contained in:
@@ -3,33 +3,28 @@ require 'package'
|
||||
class Patchelf < Package
|
||||
description 'PatchELF is a small utility to modify the dynamic linker and RPATH of ELF executables.'
|
||||
homepage 'http://nixos.org/patchelf.html'
|
||||
version '0.13'
|
||||
version '0.14.3'
|
||||
license 'GPL-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/NixOS/patchelf.git'
|
||||
git_hashtag version
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/patchelf/0.13_armv7l/patchelf-0.13-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/patchelf/0.13_armv7l/patchelf-0.13-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/patchelf/0.13_i686/patchelf-0.13-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/patchelf/0.13_x86_64/patchelf-0.13-chromeos-x86_64.tpxz'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/patchelf/0.14.3_armv7l/patchelf-0.14.3-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/patchelf/0.14.3_armv7l/patchelf-0.14.3-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/patchelf/0.14.3_i686/patchelf-0.14.3-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/patchelf/0.14.3_x86_64/patchelf-0.14.3-chromeos-x86_64.tpxz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'fc778c01628667394ad79f4873a2ec329a6aed20745688586be07a2dc7e62818',
|
||||
armv7l: 'fc778c01628667394ad79f4873a2ec329a6aed20745688586be07a2dc7e62818',
|
||||
i686: 'ac2ef0780f5d8a7fa98a8b37c8cae9ee84423220c000ea3c4613509679542851',
|
||||
x86_64: '451436f8744dea2f1cc33d2232a54b38d3ba6788cda1fd7d0bef6b3003d096c6'
|
||||
aarch64: '76cf82fea05e417739a96bd96b0468be749d4dc2ed7edcfff73ee48fd2ed1130',
|
||||
armv7l: '76cf82fea05e417739a96bd96b0468be749d4dc2ed7edcfff73ee48fd2ed1130',
|
||||
i686: '41389fd3670f713ee2b085560071155ff99c453fc80c222fc26354ab6a840c04',
|
||||
x86_64: '0f15080a932a654e0861f45145e9e76927f07db9cf3a032ad837426d95bb6a68'
|
||||
})
|
||||
|
||||
def self.build
|
||||
system './bootstrap.sh'
|
||||
# Optimization flags from https://github.com/InBetweenNames/gentooLTO
|
||||
# Build static for use in case needed with glibc brokenness.
|
||||
system "env CFLAGS='-flto=auto -pipe -O3 -ffat-lto-objects -fipa-pta -fno-semantic-interposition -fdevirtualize-at-ltrans' \
|
||||
CXXFLAGS='-flto=auto -pipe -O3 -ffat-lto-objects -fipa-pta -fno-semantic-interposition -fdevirtualize-at-ltrans' \
|
||||
LDFLAGS='-flto=auto -static' \
|
||||
./configure #{CREW_OPTIONS}"
|
||||
system "LDFLAGS='-flto=auto -static' ./configure #{CREW_OPTIONS}"
|
||||
system 'make'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user