Prechádzať zdrojové kódy

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

git-svn-id: branches/wasm@46995 -
nickysn 4 rokov pred
rodič
commit
e96faf0a76
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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