Browse Source

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

git-svn-id: branches/wasm@48250 -
nickysn 4 năm trước cách đây
mục cha
commit
91ee50679f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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