- -strip --strip-debug /tools/lib/*
- -strip --strip-unneeded /tools/{,s}bin/*
- rm -rfv /tools/{,share}/{info,man} /usr/local/man
- chown -R root:root /tools
+ # Remove man and info pages.
+ rm -rfv /tools/{,share}/{info,man}
+
+ # Strip all binaries.
+ STRIP="/usr/bin/strip" $(DIR_SRC)/src/stripper /tools/
+
+ # Fix ownership of the toolchain.
+ chown -R root:root /tools/