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

git-svn-id: branches/wasm@46995 -
This commit is contained in:
nickysn 2020-09-28 23:17:32 +00:00
parent ceeb614473
commit e96faf0a76

View File

@ -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