scripts: build: Discard more debug sections when stripping libraries
This commit updates the build script to strip additional debug sections added by the Binutils 2.38 when stripping the target libraries. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
parent
bc3c514822
commit
0a0c42d75a
|
@ -162,7 +162,8 @@ strip_target_lib()
|
|||
--discard-locals
|
||||
-R .comment -R .note -R .debug_info -R .debug_aranges
|
||||
-R .debug_pubnames -R .debug_pubtypes -R .debug_abbrev -R .debug_line
|
||||
-R .debug_str -R .debug_ranges -R .debug_loc
|
||||
-R .debug_str -R .debug_ranges -R .debug_loc -R .debug_loclists
|
||||
-R .debug_rnglists -R .debug_line_str
|
||||
"
|
||||
|
||||
find "$1" -name "$2" | while read target_lib; do
|
||||
|
|
Loading…
Reference in New Issue