On Mon, Feb 21, 2022 at 09:17:56AM +0000, Huw Davies wrote:Also, have you tried to strip the binaries? make install INSTALL_PROGRAM_FLAGS="-s" should do this.Oh, and on macOS, native strip is broken and requires the argument "-x" to do anything useful. You can specify that when running configure: ./configure ... STRIP="strip -x" Huw.
Dravion is already overriding CFLAGS without debug info... that should work also
needs to be done also for CROSSCFLAGS like:
./configure
CFLAGS="-Os" CROSSCFLAGS="-Os"