don't error oddly if compiler is not found
This commit is contained in:
parent
def0fd1f31
commit
8af9bfe8e0
1 changed files with 4 additions and 1 deletions
|
@ -1275,7 +1275,10 @@ if not preconfigured:
|
||||||
color_print(4,"Configuring on %s in *%s*..." % (env['PLATFORM'],mode))
|
color_print(4,"Configuring on %s in *%s*..." % (env['PLATFORM'],mode))
|
||||||
|
|
||||||
cxx_version = call("%s --version" % env["CXX"] ,silent=True)
|
cxx_version = call("%s --version" % env["CXX"] ,silent=True)
|
||||||
color_print(5, "CXX %s" % cxx_version.decode("utf8"))
|
if cxx_version:
|
||||||
|
color_print(5, "CXX %s" % cxx_version.decode("utf8"))
|
||||||
|
else:
|
||||||
|
color_print(5, "Could not detect CXX compiler")
|
||||||
|
|
||||||
env['MISSING_DEPS'] = []
|
env['MISSING_DEPS'] = []
|
||||||
env['SKIPPED_DEPS'] = []
|
env['SKIPPED_DEPS'] = []
|
||||||
|
|
Loading…
Reference in a new issue