[pkg-d-commits] [ldc] 41/211: Fix issue #455 (checking for unique object file even with `-o-`)

Matthias Klumpp mak at moszumanska.debian.org
Sun Apr 23 22:36:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

mak pushed a commit to annotated tag v1.1.0
in repository ldc.

commit fcf6d456bbcb84c6837a60ffb7cc331b105cb8ea
Author: Martin <noone at nowhere.com>
Date:   Mon Sep 26 21:40:21 2016 +0200

    Fix issue #455 (checking for unique object file even with `-o-`)
---
 ddmd/mars.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ddmd/mars.d b/ddmd/mars.d
index 1304b0b..359ebd4 100644
--- a/ddmd/mars.d
+++ b/ddmd/mars.d
@@ -1468,7 +1468,7 @@ extern (C++) int mars_mainBody(ref Strings files, ref Strings libmodules)
             if ((*global.params.objfiles)[j] == cast(const(char)*)m)
             {
                 (*global.params.objfiles)[j] = m.objfile.name.str;
-                if (!m.isDocFile)
+                if (!m.isDocFile && global.params.obj)
                     m.checkAndAddOutputFile(m.objfile);
                 break;
             }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git



More information about the pkg-d-commits mailing list