1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:07:46 +00:00

Toolchain: Remove references to -lm

This commit is contained in:
Tim Schumacher 2022-09-06 12:12:48 +02:00 committed by Brian Gianforcaro
parent a4f5a5d783
commit 77f124c87a
3 changed files with 7 additions and 7 deletions

View file

@ -144,7 +144,7 @@ new file mode 100644
index 000000000..6fc664a05
--- /dev/null
+++ b/clang/lib/Driver/ToolChains/Serenity.cpp
@@ -0,0 +1,337 @@
@@ -0,0 +1,336 @@
+//===---- Serenity.cpp - SerenityOS ToolChain Implementation ----*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
@ -301,7 +301,6 @@ index 000000000..6fc664a05
+ TC.AddCXXStdlibLibArgs(Args, CmdArgs);
+ if (OnlyLibstdcxxStatic)
+ CmdArgs.push_back("-Bdynamic");
+ CmdArgs.push_back("-lm");
+ CmdArgs.push_back("--pop-state");
+ }
+