mirror of https://github.com/nodejs/node.git
Error out when no compiler found
parent
8e0dad4a27
commit
f379b77735
2
wscript
2
wscript
|
@ -101,7 +101,9 @@ def conf_subproject (conf, subdir, command=None):
|
||||||
|
|
||||||
def configure(conf):
|
def configure(conf):
|
||||||
conf.check_tool('compiler_cxx')
|
conf.check_tool('compiler_cxx')
|
||||||
|
if not conf.env.CXX: conf.fatal('c++ compiler not found')
|
||||||
conf.check_tool('compiler_cc')
|
conf.check_tool('compiler_cc')
|
||||||
|
if not conf.env.CC: conf.fatal('c compiler not found')
|
||||||
|
|
||||||
conf.env["USE_DEBUG"] = Options.options.debug
|
conf.env["USE_DEBUG"] = Options.options.debug
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue