libmakepkg: Fix non-reproducible binaries by processing debuginfo in order
This commit is contained in:
parent
2c45e854ab
commit
843bf21e79
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ tidy_strip() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local binary strip_flags
|
local binary strip_flags
|
||||||
find . -type f -perm -u+w -print0 2>/dev/null | while IFS= read -rd '' binary ; do
|
find . -type f -perm -u+w -print0 2>/dev/null | LC_ALL=C sort -z | while IFS= read -rd '' binary ; do
|
||||||
local STRIPLTO=0
|
local STRIPLTO=0
|
||||||
case "$(LC_ALL=C readelf -h "$binary" 2>/dev/null)" in
|
case "$(LC_ALL=C readelf -h "$binary" 2>/dev/null)" in
|
||||||
*Type:*'DYN (Shared object file)'*) # Libraries (.so) or Relocatable binaries
|
*Type:*'DYN (Shared object file)'*) # Libraries (.so) or Relocatable binaries
|
||||||
|
|
Loading…
Add table
Reference in a new issue