diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2018-04-20 19:46:16 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-05-12 14:57:47 +0200 |
commit | 03272ad57142a1c7dacf1d9933d52650d3936225 (patch) | |
tree | 42d81c805b276cdc680d71691d14448e379c21c2 /doc | |
parent | 40937b381abd013cf3473af4ea04bf52fecf0854 (diff) | |
download | pacman-03272ad57142a1c7dacf1d9933d52650d3936225.tar.gz pacman-03272ad57142a1c7dacf1d9933d52650d3936225.tar.xz |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/makepkg.conf.5.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt index 267dc9e9..5417aa0e 100644 --- a/doc/makepkg.conf.5.txt +++ b/doc/makepkg.conf.5.txt @@ -193,8 +193,8 @@ Options for details. **STRIP_SHARED=**"--strip-unneeded":: - Options to be used when stripping shared libraries. See linkman:strip[1] - for details. + Options to be used when stripping shared libraries or PIE executables. + See linkman:strip[1] for details. **STRIP_STATIC=**"--strip-debug":: Options to be used when stripping static libraries. See linkman:strip[1] |