Skip to content

Commit

Permalink
Update build_patchelf() in docker/build_utils.sh to apply alignment f…
Browse files Browse the repository at this point in the history
…ix patch to 0.11 release.
  • Loading branch information
geoffreyblake committed Aug 24, 2020
1 parent 1fa8e23 commit 470f25c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/build_scripts/build_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ function build_patchelf {
curl -fsSL -o patchelf.tar.gz https://github.com/NixOS/patchelf/archive/$patchelf_version.tar.gz
check_sha256sum patchelf.tar.gz $patchelf_hash
tar -xzf patchelf.tar.gz
(cd patchelf-$patchelf_version && ./bootstrap.sh && do_standard_install)
# Apply aarch64 alignment fix patch until version >0.11 of patchelf is released
(cd patchelf-$patchelf_version && patch -p1 -i "$src_dir"/patches/patchelf-fix-default-aarch64-alignment.patch && ./bootstrap.sh && do_standard_install)
rm -rf patchelf.tar.gz patchelf-$patchelf_version
}

0 comments on commit 470f25c

Please sign in to comment.