I kind of prefer approach 2 here, by modifying build.sh and force the project to use gcc/g++.
Shitty format, revised: To override this and force to use gcc for compiling libs/icu, there're several ways: call build.sh with CC=gcc CXX=g++ ./build.sh modify build.sh: diff --git a/build.sh b/build.sh index 4e556321..f21c859a 100755 --- a/build.sh +++ b/build.sh @@ -189,7 +189,7 @@ fi if [ "$ONLY_MAKE" = "FALSE" ] then - TL_MAKE=$MAKE ../source/configure $CONFHOST $CONFBUILD $WARNINGFLAGS $CONF_OPTIONS || exit 1 + CC=gcc CXX=g++ TL_MAKE=$MAKE ../source/configure $CONFHOST $CONFBUILD $WARNINGFLAGS...
Shitty format, revised: To override this and force to use gcc for compiling libs/icu, there're several ways: - call build.sh with CC=gcc CXX=g++ ./build.sh - modify build.sh: diff --git a/build.sh b/build.sh index 4e556321..f21c859a 100755 --- a/build.sh +++ b/build.sh @@ -189,7 +189,7 @@ fi if [ "$ONLY_MAKE" = "FALSE" ] then - TL_MAKE=$MAKE ../source/configure $CONFHOST $CONFBUILD $WARNINGFLAGS $CONF_OPTIONS || exit 1 + CC=gcc CXX=g++ TL_MAKE=$MAKE ../source/configure $CONFHOST $CONFBUILD $WARNINGFLAGS...
Shitty format, revised: To override this and force to use gcc for compiling libs/icu, there're several ways: 1. call build.sh with CC=gcc CXX=g++ ./build.sh 2. modify build.sh: diff --git a/build.sh b/build.sh index 4e556321..f21c859a 100755 --- a/build.sh +++ b/build.sh @@ -189,7 +189,7 @@ fi if [ "$ONLY_MAKE" = "FALSE" ] then - TL_MAKE=$MAKE ../source/configure $CONFHOST $CONFBUILD $WARNINGFLAGS $CONF_OPTIONS || exit 1 + CC=gcc CXX=g++ TL_MAKE=$MAKE ../source/configure $CONFHOST $CONFBUILD $WARNINGFLAGS...
Shitty format, revised: To override this and force to use gcc for compiling libs/icu, there're several ways: 1. call build.sh with CC=gcc CXX=g++ ./build.sh 2. modify build.sh: diff --git a/build.sh b/build.sh index 4e556321..f21c859a 100755 --- a/build.sh +++ b/build.sh @@ -189,7 +189,7 @@ fi if [ "$ONLY_MAKE" = "FALSE" ] then - TL_MAKE=$MAKE ../source/configure $CONFHOST $CONFBUILD $WARNINGFLAGS $CONF_OPTIONS || exit 1 + CC=gcc CXX=g++ TL_MAKE=$MAKE ../source/configure $CONFHOST $CONFBUILD $WARNINGFLAGS...
Shitty format, revised: To override this and force to use gcc for compiling libs/icu, there're several ways: 1. call build.sh with CC=gcc CXX=g++ ./build.sh 2. modify build.sh: diff --git a/build.sh b/build.sh index 4e556321..f21c859a 100755 --- a/build.sh +++ b/build.sh @@ -189,7 +189,7 @@ fi if [ "$ONLY_MAKE" = "FALSE" ] then TL_MAKE=$MAKE ../source/configure $CONFHOST $CONFBUILD $WARNINGFLAGS $CONF_OPTIONS || exit 1 CC=gcc CXX=g++ TL_MAKE=$MAKE ../source/configure $CONFHOST $CONFBUILD $WARNINGFLAGS...
Project failed to build on environment with clang
Current master branch failed to build on ubuntu 20.04