The compiler supports CFLAGS=-gz=zlib to compress .debug sections in object files, libraries, and binaries. Enable it for standalone debug CFLAGS to reduce disk usage in objdir.
(This should also reduce the size of library/executable debug data in /usr/lib/debug but there is a bug in clang -- PR253942. Once the clang bug is fixed we'll get a bonus size reduction.)