From 43f016c54518e719a907839007d381d65196a2e1 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Wed, 4 Nov 2020 17:22:27 +0100 Subject: [PATCH] Add a path for gcc set as _compiler value outside of the fallback path Fixes https://github.com/Frogging-Family/linux-tkg/pull/111 --- linux-tkg-config/prepare | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index d3ebc87..efb300d 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -218,8 +218,9 @@ _tkg_initscript() { elif [ "$_compiler" = "llvm" ]; then echo "_compiler_name=\"-llvm\"" > ${_path}/compilerset echo "llvm_opt=\"LLVM=1\"" >> ${_path}/compilerset + elif [ "$_compiler" = "gcc" ]; then + echo "_compiler_name=" >> ${_path}/compilerset else - echo "_compiler_name=" >> ${_path}/compilerset 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)?" read -rp "`echo $' > N/y : '`" _fallback;