don't error oddly if compiler is not found

This commit is contained in:
Dane Blakely Springmeyer 2018-04-29 21:08:36 -07:00
parent def0fd1f31
commit 8af9bfe8e0

View file

@ -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)
if cxx_version:
color_print(5, "CXX %s" % cxx_version.decode("utf8")) 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'] = []