mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
+ pass '-m wasm32' to the linker, when compiling for the wasm32-embedded target
This commit is contained in:
parent
1bbd16d1b7
commit
078aa5d046
@ -2155,7 +2155,7 @@ constructor TLinkerEmbedded_Wasm.Create;
|
||||
|
||||
procedure TLinkerEmbedded_Wasm.SetDefaultInfo;
|
||||
begin
|
||||
Info.DllCmd[1] := 'wasm-ld $SONAME $GCSECTIONS -z stack-size=$STACKSIZE -o $EXE';
|
||||
Info.DllCmd[1] := 'wasm-ld -m wasm32 $SONAME $GCSECTIONS -z stack-size=$STACKSIZE -o $EXE';
|
||||
//Info.DllCmd[2] := 'wasmtool --exportrename $INPUT $EXE';
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user