summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2017-05-01 14:41:18 (GMT)
committerRussel Winder <russel@winder.org.uk>2017-05-01 14:41:18 (GMT)
commit334c534cb365ff206a2ddef5e09c9e8f728b9eb0 (patch)
tree443d4a673b33fc8b18efb47976d9b395de6f2ef5 /src/engine
parent50f02b518073365437f57ab46924037c7f7e60ec (diff)
downloadSCons-334c534cb365ff206a2ddef5e09c9e8f728b9eb0.zip
SCons-334c534cb365ff206a2ddef5e09c9e8f728b9eb0.tar.gz
SCons-334c534cb365ff206a2ddef5e09c9e8f728b9eb0.tar.bz2
Simplify a couple of calls.
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/SCons/Tool/DCommon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/DCommon.py b/src/engine/SCons/Tool/DCommon.py
index c8ca8b9..c08f040 100644
--- a/src/engine/SCons/Tool/DCommon.py
+++ b/src/engine/SCons/Tool/DCommon.py
@@ -56,8 +56,8 @@ def addDPATHToEnv(env, executable):
def allAtOnceEmitter(target, source, env):
if env['DC'] in ('ldc2', 'dmd'):
- env.SideEffect(str(target[0]) + '.o', str(target[0]))
- env.Clean(str(target[0]), str(target[0]) + '.o')
+ env.SideEffect(str(target[0]) + '.o', target[0])
+ env.Clean(target[0], str(target[0]) + '.o')
return target, source