浏览代码

* ignore the -gl parameter (and print a warning) on the embedded targets

Nikolay Nikolov 11 月之前
父节点
当前提交
bdeb161d85
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/options.pas

+ 1 - 1
compiler/options.pas

@@ -3253,7 +3253,7 @@ begin
               exclude(init_settings.globalswitches,cs_use_lineinfo)
             else
               begin
-                if target_info.system in systems_wasm then
+                if target_info.system in (systems_wasm+systems_embedded) then
                   IgnoredPara('-gl')
                 else
                   include(init_settings.globalswitches,cs_use_lineinfo);