i've spent the last 2 days trying to get a clean build of gcc 10 on myarch linux with the aur and i still can't figure out how to get rid of the debug symbols and flags that are statically linked into every executable.