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

This commit is contained in:
Nikolay Nikolov 2024-10-16 15:46:34 +03:00
parent 32d0531c71
commit bdeb161d85

View File

@ -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);