Add -lrt to RyuJit mode, not cpp
This commit is contained in:
parent
f3f0d389d8
commit
7665e99edd
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Native
|
|||
|
||||
// TODO: debug/release support
|
||||
private readonly string cLibsFlags = "-lm -ldl";
|
||||
private readonly string cflags = "-g -lstdc++ -lrt -Xlinker -lrt -Wno-invalid-offsetof -pthread";
|
||||
private readonly string cflags = "-g -lstdc++ -lrt -Wno-invalid-offsetof -pthread";
|
||||
|
||||
private readonly string[] libs = new string[]
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Native
|
|||
private readonly string CompilerOutputExtension = "";
|
||||
|
||||
// TODO: debug/release support
|
||||
private readonly string cflags = "-lstdc++ -lpthread -ldl -lm";
|
||||
private readonly string cflags = "-lstdc++ -lpthread -ldl -lm -lrt";
|
||||
|
||||
private readonly string[] libs = new string[]
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue