about summary refs log tree commit diff
path: root/nptl/cleanup_compat.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-12-07 21:29:24 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-12-07 21:29:24 +0000
commit297635d82bf5ff55899f694a5261ffd97636df98 (patch)
treeb480b192e23a25fcc4f78e5bd6ce1bc0aaef3de2 /nptl/cleanup_compat.c
parent8047e7cf7152a356510f51c18c5a198865470af2 (diff)
downloadglibc-297635d82bf5ff55899f694a5261ffd97636df98.tar.gz
glibc-297635d82bf5ff55899f694a5261ffd97636df98.tar.xz
glibc-297635d82bf5ff55899f694a5261ffd97636df98.zip
Add build-many-glibcs.py option to strip installed shared libraries.
This patch adds a --strip option to build-many-glibcs.py, to make it
strip the installed shared libraries after installation.  This is for
convenience if you want to compare installed stripped shared libraries
before and after a patch that was not meant to result in any code
changes: you can run with this option, copy the install/glibcs
directory, run again with the patch and compare the */lib*
subdirectory contents.

(It might make sense for the option to strip libraries in other
directories, including stripping debug information from static
libraries, with a view to making it possible for a
no-generated-code-changes patch to result in completely identical
install/glibcs directories, so simplifying comparison, though that may
need other build determinism changes, e.g. to build deterministic .a
files.)

	* scripts/build-many-glibcs.py (Context.__init__): Take strip
	argument.
	(Glibc.build_glibc): Strip installed shared libraries if
	requested.
	(get_parser): Add --strip option.
	(main): Update Context call.
Diffstat (limited to 'nptl/cleanup_compat.c')
0 files changed, 0 insertions, 0 deletions