I noticed that it is recommended to use the following prior to make
find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \;
What exactly does this do?
And is the following post make command still recommended?
find . | xargs file | grep "executable" | grep ELF | grep "not stripped" | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || find . | xargs file | grep "shared object" | grep ELF | grep "not stripped" | cut -f 1 -d : | xargs strip -g 2> /dev/null