Browse Source

+ readded the --no-entry option when linking wasi executables

git-svn-id: branches/wasm@46995 -
nickysn 5 năm trước cách đây
mục cha
commit
e96faf0a76
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

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