From 8cfff809237f61e1651842def11d69af2d86a917 Mon Sep 17 00:00:00 2001 From: umarcor Date: Tue, 15 Sep 2020 03:11:57 +0200 Subject: termux: use setup-pathforgcc and clang++ Co-authored-by: Benjamin Renz --- dist/termux.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) mode change 100644 => 100755 dist/termux.sh diff --git a/dist/termux.sh b/dist/termux.sh old mode 100644 new mode 100755 index 2f2d20561..f2b115850 --- a/dist/termux.sh +++ b/dist/termux.sh @@ -3,14 +3,13 @@ cd $(dirname "$0")/.. curl -fsSL https://its-pointless.github.io/setup-pointless-repo.sh | bash - -pkg install gnat-10 llvm make +pkg install gnat-10 llvm clang make setupgcc-10 - -# Temporal fix. See https://github.com/its-pointless/gcc_termux/issues/100 -ln -s $PREFIX/bin/gnatmake-10 $PREFIX/bin/gnatmake +setup-patchforgcc mkdir -p build-termux cd build-termux +CXX=clang++ ../configure --default-pic --enable-synth --with-llvm-config=llvm-config --prefix="$PREFIX" make make install -- cgit v1.2.3