Explorar o código

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

Nikolay Nikolov %!s(int64=3) %!d(string=hai) anos
pai
achega
e34116f7de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/systems/t_wasi.pas

+ 1 - 1
compiler/systems/t_wasi.pas

@@ -214,7 +214,7 @@ begin
   if HasExports then
     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
    begin