12 lines
278 B
Bash
Executable File
12 lines
278 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Strip debugging information from object files and executables.
|
|
#
|
|
# Analogous to GNU strip used for ELF and other binary formats.
|
|
# Note that calculation breakdowns will not work after stripping.
|
|
##
|
|
|
|
# debug assignments
|
|
sed -i 's#/\*!+\*/[^!]\+/\*!-\*/##g' "$@"
|
|
|