Browse Source

- removed --allow-undefined linker option when compiling a WASI library

Nikolay Nikolov 3 years ago
parent
commit
e34116f7de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/systems/t_wasi.pas

+ 1 - 1
compiler/systems/t_wasi.pas

@@ -214,7 +214,7 @@ begin
   if HasExports then
   if HasExports then
     cmdstr := cmdstr + ' --export-dynamic'; //' --export-dynamic';
     cmdstr := cmdstr + ' --export-dynamic'; //' --export-dynamic';
 
 
-  cmdstr := cmdstr + ' --no-entry --allow-undefined';
+  cmdstr := cmdstr + ' --no-entry';
 
 
   if (cs_link_strip in current_settings.globalswitches) then
   if (cs_link_strip in current_settings.globalswitches) then
    begin
    begin