linux60: Fix lto mode check
Fixes https://github.com/Frogging-Family/linux-tkg/issues/585
This commit is contained in:
@@ -718,7 +718,7 @@ _tkg_srcprep() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# Clang LTO
|
# Clang LTO
|
||||||
if [ "$_compiler_name" = "-llvm" ] && [ $_basever -ge 512 ]; then
|
if [ "$_compiler_name" = "-llvm" ] && ( [[ "$_basever" = 6* ]] || [ $_basever -ge 512 ] ); then
|
||||||
if [ "$_lto_mode" = "full" ]; then
|
if [ "$_lto_mode" = "full" ]; then
|
||||||
_enable LTO_CLANG_FULL
|
_enable LTO_CLANG_FULL
|
||||||
_disable LTO_CLANG_THIN
|
_disable LTO_CLANG_THIN
|
||||||
|
Reference in New Issue
Block a user