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:
parent
27b2c3b8c4
commit
dee0932fb0
@ -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']))
|
||||
|
@ -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']))
|
||||
|
Loading…
Reference in New Issue
Block a user