diff --git a/waflib/Tools/ifort.py b/waflib/Tools/ifort.py index 2d277c6b..29363572 100644 --- a/waflib/Tools/ifort.py +++ b/waflib/Tools/ifort.py @@ -472,8 +472,6 @@ def exec_command_ifort(self, *k, **kw): env.update(PATH = ';'.join(self.env['PATH'])) kw['env'] = env - if not 'cwd' in kw: - kw['cwd'] = self.get_cwd() ret = super(self.__class__, self).exec_command(k[0], **kw) if not ret and getattr(self, 'do_manifest', None): ret = self.exec_mf() diff --git a/waflib/Tools/msvc.py b/waflib/Tools/msvc.py index 0c6b5638..5534a957 100644 --- a/waflib/Tools/msvc.py +++ b/waflib/Tools/msvc.py @@ -1005,9 +1005,6 @@ def exec_command_msvc(self, *k, **kw): env.update(PATH = ';'.join(self.env['PATH'])) kw['env'] = env - - if not 'cwd' in kw: - kw['cwd'] = self.get_cwd() ret = super(self.__class__, self).exec_command(k[0], **kw) if not ret and getattr(self, 'do_manifest', None): ret = self.exec_mf()