Strip shared objects in subdirectories of lib
The RISC-V port will have libraries in subdirectories of lib, like "lib64/lp64d". This adds support for stripping these installed libraries. 2018-01-06 Palmer Dabbelt <palmer@sifive.com> * scripts/build-many-glibcs.py (class Glibc): Strip shared objects in subdirectories of lib.
This commit is contained in:
parent
150bbac18b
commit
1598f3ad06
@ -17,6 +17,8 @@
|
||||
* sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
|
||||
define.
|
||||
(VDSO_HASH_LINUX_4_15): Likewise.
|
||||
* scripts/build-many-glibcs.py (class Glibc): Strip shared objects
|
||||
in subdirectories of lib.
|
||||
|
||||
2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
|
||||
|
@ -1377,7 +1377,7 @@ class Glibc(object):
|
||||
if self.ctx.strip:
|
||||
cmdlist.add_command('strip',
|
||||
['sh', '-c',
|
||||
('%s %s/lib*/*.so' %
|
||||
('%s $(find %s/lib* -name "*.so")' %
|
||||
(self.tool_name('strip'), installdir))])
|
||||
cmdlist.add_command('check', ['make', 'check'])
|
||||
cmdlist.add_command('save-logs', [self.ctx.save_logs],
|
||||
|
Loading…
x
Reference in New Issue
Block a user