The first commit fixes #30760.
The second commit:
- Preserves
-g -O1set inMSAN_FLAGS. Since configuration-specific flags override general flags, these are set to empty strings. A similar approach is used in the OSS-Fuzz repository. - Sets the "Debug" build configuration when depends are built with
DEBUG=1, ensuring thatlinux_debug_CPPFLAGSfrom depends are passed to the main build system.