Remove sortalgs unit for wasm32 CPU instead of only wasi target, as it is the wasm32 cpu that does not support gotos

This commit is contained in:
Pierre Muller 2022-01-04 11:13:49 +00:00
parent 4aebfe97a9
commit b02b3b79b4

View File

@ -159,8 +159,8 @@ begin
begin
addinclude('clocale.inc',clocaleincOSes);
end;
T:=P.Targets.AddUnit('sortalgs.pp',AllTargetsextra
-[wasi]); { uses goto, which is not supported on the WebAssembly target }
{ sortalgs unit source code uses goto, which is not supported on wasm32 CPU }
T:=P.Targets.AddUnit('sortalgs.pp',AllCPUs-[wasm32], AllTargetsextra);
end
end;