mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 13:29:14 +02:00
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:
parent
4aebfe97a9
commit
b02b3b79b4
@ -159,8 +159,8 @@ begin
|
|||||||
begin
|
begin
|
||||||
addinclude('clocale.inc',clocaleincOSes);
|
addinclude('clocale.inc',clocaleincOSes);
|
||||||
end;
|
end;
|
||||||
T:=P.Targets.AddUnit('sortalgs.pp',AllTargetsextra
|
{ sortalgs unit source code uses goto, which is not supported on wasm32 CPU }
|
||||||
-[wasi]); { uses goto, which is not supported on the WebAssembly target }
|
T:=P.Targets.AddUnit('sortalgs.pp',AllCPUs-[wasm32], AllTargetsextra);
|
||||||
end
|
end
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user