Explorar o código

- disable the --allow-undefined linker option when linking for WASI

git-svn-id: branches/wasm@48250 -
nickysn %!s(int64=4) %!d(string=hai) anos
pai
achega
91ee50679f
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

@@ -135,7 +135,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