1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/clang/stdcxxabi.patch.musl
3 # Copyright (C) 2021 - 2022 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- clang-15.0.5.src/lib/Driver/ToolChain.cpp.vanilla 2022-12-26 11:10:45.711204955 +0100
15 +++ clang-15.0.5.src/lib/Driver/ToolChain.cpp 2022-12-26 11:11:49.100051625 +0100
19 case ToolChain::CST_Libcxx:
20 - CmdArgs.push_back("-lc++");
21 + CmdArgs.push_back("-lc++"); CmdArgs.push_back("-lc++abi");
22 if (Args.hasArg(options::OPT_fexperimental_library))
23 CmdArgs.push_back("-lc++experimental");