diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2020-09-15 03:11:57 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2020-09-15 03:56:05 +0200 |
commit | 8cfff809237f61e1651842def11d69af2d86a917 (patch) | |
tree | 5da5560297aa0a54576185f03f4c08bc423703b4 /dist | |
parent | c08088745ad48841bb0dccd634d5b767d40b7e73 (diff) | |
download | ghdl-8cfff809237f61e1651842def11d69af2d86a917.tar.gz ghdl-8cfff809237f61e1651842def11d69af2d86a917.tar.bz2 ghdl-8cfff809237f61e1651842def11d69af2d86a917.zip |
termux: use setup-pathforgcc and clang++
Co-authored-by: Benjamin Renz <BenjaminRenz@users.noreply.github.com>
Diffstat (limited to 'dist')
-rwxr-xr-x[-rw-r--r--] | dist/termux.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dist/termux.sh b/dist/termux.sh index 2f2d20561..f2b115850 100644..100755 --- 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 |