diff options
author | Russel Winder <russel@winder.org.uk> | 2017-05-01 14:41:18 (GMT) |
---|---|---|
committer | Russel Winder <russel@winder.org.uk> | 2017-05-01 14:41:18 (GMT) |
commit | 334c534cb365ff206a2ddef5e09c9e8f728b9eb0 (patch) | |
tree | 443d4a673b33fc8b18efb47976d9b395de6f2ef5 /src/engine | |
parent | 50f02b518073365437f57ab46924037c7f7e60ec (diff) | |
download | SCons-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.py | 4 |
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 |