summaryrefslogtreecommitdiff
path: root/compilerswitchupdateunit.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2015-12-09 14:24:45 +0100
committerErich Eckner <git@eckner.net>2015-12-09 14:24:45 +0100
commit4e16f186059941a781b758c5b75ae894264acae4 (patch)
treeb6cf66c15d6465377a335aa9e6d35bcf42ce4702 /compilerswitchupdateunit.pas
parent79e32225e3ccfdb0b458bda3a1afbec615832e98 (diff)
downloadunits-4e16f186059941a781b758c5b75ae894264acae4.tar.xz
Ausgabe, wenn wegen Compilerschalter neu erzeugt wird
Diffstat (limited to 'compilerswitchupdateunit.pas')
-rw-r--r--compilerswitchupdateunit.pas4
1 files changed, 3 insertions, 1 deletions
diff --git a/compilerswitchupdateunit.pas b/compilerswitchupdateunit.pas
index ab11a9c..0b2814b 100644
--- a/compilerswitchupdateunit.pas
+++ b/compilerswitchupdateunit.pas
@@ -30,7 +30,9 @@ initialization
ciCompiletime.free;
ciRuntime.free;
- if update then
+ if update then begin
+ writeln(stderr,'Recompiling due to new compiler switches.');
refreshExecutable(extractFilePath(paramstr(0)));
+ end;
end.