Bug#72849: policy: advises to use -s flag to install in wrong place
Yann Dirson wrote:
> > Actually, dh_strip does more than install -s:
> >
> > foreach (@executables) {
> > doit("strip","--remove-section=.comment","--remove-section=.note",$_);
> > }
>
> IIRC Debian's "strip" was once patched to use these flags by default.
> Don't know whether this is still true, however.
joey@kite:~>echo 'main(){}' > foo.c
joey@kite:~>make foo
cc foo.c -o foo
joey@kite:~>strip foo
joey@kite:~>ls -l foo
-rwxrwxr-x 1 joey joey 2920 Oct 3 14:53 foo*
joey@kite:~>rm foo
joey@kite:~>make foo
cc foo.c -o foo
joey@kite:~>strip --remove-section=.comment --remove-section=.note foo
joey@kite:~>ls -l foo
-rwxrwxr-x 1 joey joey 2424 Oct 3 14:53 foo*
--
see shy jo
Reply to: