Skip to content

Commit

Permalink
downgrade patchelf-host
Browse files Browse the repository at this point in the history
  • Loading branch information
fda77 committed Feb 20, 2023
1 parent 3def938 commit eb0f8b6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 5 additions & 3 deletions config/ui/toolchain.in
Original file line number Diff line number Diff line change
Expand Up @@ -802,18 +802,20 @@ config FREETZ_TARGET_TOOLCHAIN
comment "Host-tools options ----------------------------------"

choice
prompt "Patchelf compatibility" if !FREETZ_HOSTTOOLS_DOWNLOAD
prompt "Patchelf version" if !FREETZ_HOSTTOOLS_DOWNLOAD
default FREETZ_TOOLS_PATCHELF_VERSION_CURRENT

config FREETZ_TOOLS_PATCHELF_VERSION_ABANDON
bool "gcc 5"
bool "old"
depends on !FREETZ_HOSTTOOLS_DOWNLOAD
help
For usage with old Ubuntu 14

config FREETZ_TOOLS_PATCHELF_VERSION_CURRENT
bool "gcc 7"
bool "new"
depends on !FREETZ_ANCIENT_SYSTEM
help
Requires at least gcc v7

endchoice

Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Latest changes

- Host tools:
* kconfig 6.2
* patchelf 0.14.5/0.15.0

- Packages:
* Curl 7.88.1
Expand Down
6 changes: 2 additions & 4 deletions make/host-tools/patchelf-host/patchelf-host.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$(call TOOLS_INIT, $(if $(FREETZ_TOOLS_PATCHELF_VERSION_ABANDON),0.14.5,0.17.2))
$(call TOOLS_INIT, $(if $(FREETZ_TOOLS_PATCHELF_VERSION_ABANDON),0.14.5,0.15.0))
$(PKG)_SOURCE:=patchelf-$($(PKG)_VERSION).tar.bz2
$(PKG)_HASH_ABANDON:=b9a46f2989322eb89fa4f6237e20836c57b455aa43a32545ea093b431d982f5c
$(PKG)_HASH_CURRENT:=bae2ea376072e422c196218dd9bdef0548ccc08da4de9f36b4672df84ea2d8e2
$(PKG)_HASH_CURRENT:=f4036d3ee4d8e228dec1befff0f6e46d8a40e9e570e0068e39d77e62e2c8bdc2
$(PKG)_HASH:=$($(PKG)_HASH_$(if $(FREETZ_TOOLS_PATCHELF_VERSION_ABANDON),ABANDON,CURRENT))
$(PKG)_SITE:=https://github.com/NixOS/patchelf/releases/download/$($(PKG)_VERSION),https://releases.nixos.org/patchelf/patchelf-$($(PKG)_VERSION)
### WEBSITE:=https://opencollective.com/nixos
Expand All @@ -12,8 +12,6 @@ $(PKG)_SITE:=https://github.com/NixOS/patchelf/releases/download/$($(PKG)_VERSIO
$(PKG)_CONDITIONAL_PATCHES+=$(if $(FREETZ_TOOLS_PATCHELF_VERSION_ABANDON),abandon,current)
$(PKG)_REBUILD_SUBOPTS += FREETZ_TOOLS_PATCHELF_VERSION_ABANDON

$(PKG)_CONFIGURE_OPTIONS += --prefix=/


$(TOOLS_SOURCE_DOWNLOAD)
$(TOOLS_UNPACKED)
Expand Down

0 comments on commit eb0f8b6

Please sign in to comment.