Skip to content

Commit

Permalink
Do not add link flags to compile flags
Browse files Browse the repository at this point in the history
To avoid:

    C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(825,5): error : emcc: warning: linker setting ignored during compilation: 'EXPORT_ES6' [-Wunused-command-line-argument] [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
    C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(825,5): error : emcc: warning: linker setting ignored during compilation: 'EXPORT_EXCEPTION_HANDLING_HELPERS' [-Wunused-command-line-argument] [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
  • Loading branch information
radekdoulik committed Apr 15, 2024
1 parent d19b395 commit eb19ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/wasm/build/WasmApp.Common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@
Outputs: file @(_WasmCompileBitcodeRsp
-->
<Target Name="_WasmWriteRspForCompilingBitcode">
<WriteLinesToFile Lines="@(_BitcodeLDFlags)" File="$(_WasmCompileBitcodeRsp)" Overwrite="true" WriteOnlyWhenDifferent="true" />
<WriteLinesToFile Lines="@(_EmccCommonFlags)" File="$(_WasmCompileBitcodeRsp)" Overwrite="true" WriteOnlyWhenDifferent="true" />
<ItemGroup>
<FileWrites Include="$(_WasmCompileBitcodeRsp)" />
</ItemGroup>
Expand Down

0 comments on commit eb19ade

Please sign in to comment.