mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 02:48:07 +02:00
* enable the WASM internal linker, in case the compiler is compiled with the ENABLE_WASM_INTERNAL_LINKER define
This commit is contained in:
parent
790a58be52
commit
7879387861
@ -65,12 +65,14 @@
|
||||
<CustomOptions Value="-dwasm32
|
||||
-dnoopt
|
||||
-dEXTDEBUG
|
||||
-dDEBUG_WASM_GOTO"/>
|
||||
<OtherDefines Count="4">
|
||||
-dDEBUG_WASM_GOTO
|
||||
-dENABLE_WASM_INTERNAL_LINKER"/>
|
||||
<OtherDefines Count="5">
|
||||
<Define0 Value="wasm32"/>
|
||||
<Define1 Value="noopt"/>
|
||||
<Define2 Value="EXTDEBUG"/>
|
||||
<Define3 Value="DEBUG_WASM_GOTO"/>
|
||||
<Define4 Value="ENABLE_WASM_INTERNAL_LINKER"/>
|
||||
</OtherDefines>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
|
@ -79,7 +79,11 @@ unit i_wasi;
|
||||
dirsep : '/';
|
||||
assem : as_wasm32_wasm;
|
||||
assemextern : as_wasm32_llvm_mc;
|
||||
{$ifdef ENABLE_WASM_INTERNAL_LINKER}
|
||||
link : ld_int_wasi;
|
||||
{$else ENABLE_WASM_INTERNAL_LINKER}
|
||||
link : ld_none;
|
||||
{$endif ENABLE_WASM_INTERNAL_LINKER}
|
||||
linkextern : ld_wasi;
|
||||
ar : ar_none;
|
||||
res : res_none;
|
||||
|
Loading…
Reference in New Issue
Block a user