Change DEST_OS to use underscores in order to find a correct gcc_modifier_ function.

This commit is contained in:
DragoonX6 2017-10-23 12:14:23 +02:00 committed by ita1024
parent 230096c378
commit b1efcfa6ab
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ def xcheck_host_envar(conf, name, wafname=None):
def xcheck_host(conf):
conf.xcheck_var('CHOST', cross=True)
conf.env.CHOST = conf.env.CHOST or [conf.env.DEST_OS]
conf.env.DEST_OS = conf.env.CHOST[0]
conf.env.DEST_OS = conf.env.CHOST[0].replace('-','_')
conf.xcheck_host_prog('CC', 'gcc')
conf.xcheck_host_prog('CXX', 'g++')
conf.xcheck_host_prog('LINK_CC', 'gcc')