build: detect cc version with -dumpversion
The heuristic introduced in f78ce087 ("build: handle output of localized gcc or clang") does not handle "branded" versions of gcc, i.e. a gcc whose output has been customized by the distro vendor. Fixes #3601.
parent
a25a2781
Please register or sign in to comment