Browse Source

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

Nikolay Nikolov 9 months ago
parent
commit
bdeb161d85
1 changed files with 1 additions and 1 deletions
  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);