New comment by anddam on void-packages repository https://github.com/void-linux/void-packages/pull/21667#issuecomment-624751994 Comment: I tried something similar (passing `-g` in `C*FLAGS`) and got a binary without debugging symbols. Can you confirm the resulting binary has debugging symbols?