Merge "Detect toolchain based on gcc -dumpmachine"