cmake: Use CMAKE_BUILD_TYPE flags in musllib

These flags include debug and optimization defaults for different build
types Release, Debug, RelWithDebInfo, and MinSizeRel. These already get
added to targets built within CMake but aren't automatically inherited
by external projects.
1 file changed