mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 14: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
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user