瀏覽代碼

Reset paratargetdbg to dbg_none when handling -g- option, to really suppress debug information generation

git-svn-id: trunk@48243 -
pierre 4 年之前
父節點
當前提交
b88f9ad57c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/options.pas

+ 1 - 0
compiler/options.pas

@@ -1830,6 +1830,7 @@ begin
                   exclude(init_settings.globalswitches,cs_use_heaptrc);
                   exclude(init_settings.globalswitches,cs_use_heaptrc);
                   exclude(init_settings.globalswitches,cs_use_lineinfo);
                   exclude(init_settings.globalswitches,cs_use_lineinfo);
                   exclude(init_settings.localswitches,cs_checkpointer);
                   exclude(init_settings.localswitches,cs_checkpointer);
+                  paratargetdbg:=dbg_none;
                   localvartrashing := -1;
                   localvartrashing := -1;
                 end
                 end
                else
                else