From 640046ee1e3eec0efde610bc46c6a0d12c76e9a8 Mon Sep 17 00:00:00 2001 From: Julian Daube Date: Mon, 9 Oct 2017 14:35:53 +0200 Subject: [PATCH] fix target name not written when not overridden --- main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.cpp b/main.cpp index 77c4bf1..cd57bb3 100644 --- a/main.cpp +++ b/main.cpp @@ -378,11 +378,8 @@ int main(int argc, char ** args) { if (!openOutfile(outfile)) { continue; // just skip this file } - } - // check for target override - if (config.targetName.empty()) { - config.targetName = filename; + writeTarget(outfile, filename); } for (auto it = list.begin(); it != list.end(); it++) {