Browse Source

avoid using system clang instead of ndk one

android-5
its-pointless 6 years ago
committed by Fredrik Fornwall
parent
commit
60ab227d56
  1. 3
      scripts/build/termux_step_setup_toolchain.sh

3
scripts/build/termux_step_setup_toolchain.sh

@ -1,6 +1,5 @@
termux_step_setup_toolchain() {
# We put this after system PATH to avoid picking up toolchain stripped python
export PATH=$PATH:$TERMUX_STANDALONE_TOOLCHAIN/bin
export PATH=$TERMUX_STANDALONE_TOOLCHAIN/bin:$PATH
export CFLAGS=""
export LDFLAGS="-L${TERMUX_PREFIX}/lib"

Loading…
Cancel
Save