summaryrefslogtreecommitdiff
path: root/src/task_ld.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task_ld.cc')
-rw-r--r--src/task_ld.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/task_ld.cc b/src/task_ld.cc
index c8cd1ea..31ee8c0 100644
--- a/src/task_ld.cc
+++ b/src/task_ld.cc
@@ -123,7 +123,8 @@ int TaskLD::runInner()
if(settings.verbose == 0)
{
- std::cout << "LD => " << targetFile().string() << std::endl;
+ std::string output = "LD => " + targetFile().string() + '\n';
+ std::cout << output << std::flush;
}
auto tool = compiler();