2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-12 05:10:40 +01:00

No need to paste /Fo flags as the command system does not insert spaces anymore

This commit is contained in:
Thomas Nagy 2016-06-16 19:42:29 +02:00
parent 27b2c3b8c4
commit dee0932fb0
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
2 changed files with 0 additions and 22 deletions

View File

@ -456,17 +456,6 @@ def exec_command_ifort(self, *k, **kw):
Change the command-line execution for msvc programs.
Instead of quoting all the paths and keep using the shell, we can just join the options msvc is interested in
"""
if isinstance(k[0], list):
lst = []
carry = ''
for a in k[0]:
if a == '/Fo' or a == '/doc' or a[-1] == ':':
carry = a
else:
lst.append(carry + a)
carry = ''
k = [lst]
if self.env['PATH']:
env = dict(self.env.env or os.environ)
env.update(PATH = ';'.join(self.env['PATH']))

View File

@ -989,17 +989,6 @@ def exec_command_msvc(self, *k, **kw):
Change the command-line execution for msvc programs.
Instead of quoting all the paths and keep using the shell, we can just join the options msvc is interested in
"""
if isinstance(k[0], list):
lst = []
carry = ''
for a in k[0]:
if a == '/Fo' or a == '/doc' or a[-1] == ':':
carry = a
else:
lst.append(carry + a)
carry = ''
k = [lst]
if self.env['PATH']:
env = dict(self.env.env or os.environ)
env.update(PATH = ';'.join(self.env['PATH']))