mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-13 01:50:33 +00:00
11 lines
323 B
Diff
11 lines
323 B
Diff
--- a/bin/clang-target-wrapper.sh.orig
|
|
+++ b/bin/clang-target-wrapper.sh
|
|
@@ -94,6 +94,7 @@
|
|
FLAGS="$FLAGS -unwindlib=libunwind"
|
|
FLAGS="$FLAGS -stdlib=libc++"
|
|
FLAGS="$FLAGS -fuse-ld=lld"
|
|
+FLAGS="$FLAGS --sysroot=@TERMUX_PREFIX@/opt/llvm-mingw-w64"
|
|
FLAGS="$FLAGS --end-no-unused-arguments"
|
|
|
|
$CCACHE "$CLANG" $FLAGS "$@"
|