pacman/scripts/libmakepkg/tidy
Jan Alexander Steffens (heftig) 03272ad571 libmakepkg: Support file 5.33's application/x-pie-executable
file 5.33 introduces a new MIME type "application/x-pie-executable",
which is used for relocatable binaries. makepkg ignored these binaries
and did not attempt to strip them.

Handle the new MIME type like the old "application/x-sharedlib".
Stripping the binaries with --strip-unneeded to keep relocation
information should be the correct thing to do.

file 5.33 also misidentifies actual libraries as PIE executables, so we
didn't strip any shared libraries, either. We now work around this bug.

Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2018-05-12 22:57:47 +10:00
..
docs.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
emptydirs.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
libtool.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
purge.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
staticlibs.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
strip.sh.in libmakepkg: Support file 5.33's application/x-pie-executable 2018-05-12 22:57:47 +10:00
zipman.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00