summaryrefslogtreecommitdiff
path: root/Toolchain/Patches/llvm/0003-Driver-Add-support-for-SerenityOS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Toolchain/Patches/llvm/0003-Driver-Add-support-for-SerenityOS.patch')
-rw-r--r--Toolchain/Patches/llvm/0003-Driver-Add-support-for-SerenityOS.patch3
1 files changed, 1 insertions, 2 deletions
diff --git a/Toolchain/Patches/llvm/0003-Driver-Add-support-for-SerenityOS.patch b/Toolchain/Patches/llvm/0003-Driver-Add-support-for-SerenityOS.patch
index 3f928dbe24..90d254f249 100644
--- a/Toolchain/Patches/llvm/0003-Driver-Add-support-for-SerenityOS.patch
+++ b/Toolchain/Patches/llvm/0003-Driver-Add-support-for-SerenityOS.patch
@@ -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");
+ }
+