Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
blob: f67df200ad88e15dc65f89ec6047b2c3618659d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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' "$@"