eab39222c5
Currently it supports only on-device builds. https://github.com/termux/termux-packages/pull/4895 How to build: cp -a ./disabled-packages/swift ./packages/ pkg install clang binutils-gold file patch python cmake ninja python2 perl rsync libandroid-spawn libcurl libicu libsqlite libuuid libxml2 llbuild pkg-config TERMUX_MAKE_PROCESSES=7 ./build-package.sh swift
12 lines
365 B
Diff
12 lines
365 B
Diff
--- a/llvm-project/clang/lib/Driver/ToolChain.cpp 2016-12-14 17:46:50.000000000 +0100
|
|
+++ b/llvm-project/clang/lib/Driver/ToolChain.cpp 2017-07-13 12:35:02.862534376 +0200
|
|
@@ -632,7 +632,7 @@
|
|
|
|
switch (Type) {
|
|
case ToolChain::CST_Libcxx:
|
|
- CmdArgs.push_back("-lc++");
|
|
+ CmdArgs.push_back("-lc++_shared");
|
|
break;
|
|
|
|
case ToolChain::CST_Libstdcxx:
|