A compmiler doesn't provide an architecture target.
If ccache is the compiler in a build action then the architecture
target can't be queried.
@@ -341,6 +341,9 @@ class ImplicitCompilerInfo(object):
"""
lines = ImplicitCompilerInfo.__get_compiler_err(compiler + ' -v')
+ if lines is None:
+ return ""
+
target_label = "Target:"
target = ""
