瀏覽代碼

* partial fix #40934: enable def file generation if only -D is provided as argument (as the help suggests and which also makes sense if -Dd is not set as then a default description is used)

Sven/Sarah Barth 9 月之前
父節點
當前提交
dcf6a97d64
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/options.pas

+ 2 - 0
compiler/options.pas

@@ -2926,6 +2926,8 @@ var
 
 
 begin
 begin
   j:=1;
   j:=1;
+  if length(more)=0 then
+    include(init_settings.globalswitches,cs_link_deffile);
   while j<=length(more) do
   while j<=length(more) do
     begin
     begin
       case more[j] of
       case more[j] of