Add a path for gcc set as _compiler value outside of the fallback path
Fixes https://github.com/Frogging-Family/linux-tkg/pull/111
This commit is contained in:
parent
eb42478f79
commit
43f016c545
@ -218,8 +218,9 @@ _tkg_initscript() {
|
|||||||
elif [ "$_compiler" = "llvm" ]; then
|
elif [ "$_compiler" = "llvm" ]; then
|
||||||
echo "_compiler_name=\"-llvm\"" > ${_path}/compilerset
|
echo "_compiler_name=\"-llvm\"" > ${_path}/compilerset
|
||||||
echo "llvm_opt=\"LLVM=1\"" >> ${_path}/compilerset
|
echo "llvm_opt=\"LLVM=1\"" >> ${_path}/compilerset
|
||||||
|
elif [ "$_compiler" = "gcc" ]; then
|
||||||
|
echo "_compiler_name=" >> ${_path}/compilerset
|
||||||
else
|
else
|
||||||
echo "_compiler_name=" >> ${_path}/compilerset
|
|
||||||
if [ "$_nofallback" != "true" ] && [ ! -e "${_path}"/compilerset ] && [ "$_compiler" != "llvm" ]; then
|
if [ "$_nofallback" != "true" ] && [ ! -e "${_path}"/compilerset ] && [ "$_compiler" != "llvm" ]; then
|
||||||
warning "Something is wrong with your compiler selection. Do you want to fallback to GCC (default)?"
|
warning "Something is wrong with your compiler selection. Do you want to fallback to GCC (default)?"
|
||||||
read -rp "`echo $' > N/y : '`" _fallback;
|
read -rp "`echo $' > N/y : '`" _fallback;
|
||||||
|
Loading…
Reference in New Issue
Block a user