chiark
/
gitweb
/
~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vim: Use sensible.vim as system vimrc
[termux-packages]
/
scripts
/
clang-pie-wrapper
diff --git
a/scripts/clang-pie-wrapper
b/scripts/clang-pie-wrapper
index 1fc68f56d588c16911134e4e22bc88380cbf7f1d..d9650249ff2c5d3729794a00eaefc2fc75b79923 100755
(executable)
--- a/
scripts/clang-pie-wrapper
+++ b/
scripts/clang-pie-wrapper
@@
-25,7
+25,7
@@
arguments=()
# The ordinary wrapper from a NDK standalone toolchain
# with "${arguments[@]}" added.
if [ "$1" != "-cc1" ]; then
# The ordinary wrapper from a NDK standalone toolchain
# with "${arguments[@]}" added.
if [ "$1" != "-cc1" ]; then
- `dirname $0`/COMPILER -target
TERMUX_ARCH-none-linux-android
--sysroot `dirname $0`/../sysroot "${arguments[@]}" "$@"
+ `dirname $0`/COMPILER -target
CLANG_TARGET
--sysroot `dirname $0`/../sysroot "${arguments[@]}" "$@"
else
# target/triple already spelled out.
`dirname $0`/COMPILER "${arguments[@]}" "$@"
else
# target/triple already spelled out.
`dirname $0`/COMPILER "${arguments[@]}" "$@"