diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2018-01-05 23:18:40 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2018-01-06 23:35:56 -0800 |
commit | 1598f3ad06db9654a5d112136e40b630649405c3 (patch) | |
tree | d5fb9ffbf83f9ff6265969bc0637ef60e9797d7a /scripts | |
parent | 150bbac18bf0af28954bd505793de60f61918b07 (diff) | |
download | glibc-1598f3ad06db9654a5d112136e40b630649405c3.tar.gz glibc-1598f3ad06db9654a5d112136e40b630649405c3.tar.xz glibc-1598f3ad06db9654a5d112136e40b630649405c3.zip |
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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-many-glibcs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index f358307424..75a920a161 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -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], |