mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 00:10:52 +00:00
0442d0b1f3
Co-Authored-By: Lucy Phipps <landfillbaby69@gmail.com>
13 lines
413 B
Diff
13 lines
413 B
Diff
--- a/clang/lib/Driver/ToolChains/CommonArgs.cpp
|
|
+++ b/clang/lib/Driver/ToolChains/CommonArgs.cpp
|
|
@@ -1281,6 +1281,9 @@
|
|
if (AsNeeded)
|
|
addAsNeededOption(TC, Args, CmdArgs, /*as_needed=*/false);
|
|
}
|
|
+ if (TC.getTriple().isAndroid()) {
|
|
+ CmdArgs.push_back("-l:libandroid-complex-math.a");
|
|
+ }
|
|
CmdArgs.push_back("-lFortranRuntime");
|
|
CmdArgs.push_back("-lFortranDecimal");
|
|
}
|