foot-pgo: Fix build when mold used via CFLAGS

This commit is contained in:
Dylan Araps 2021-08-16 12:15:19 +03:00
parent e4e4d460b9
commit ec257b4682
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ case $("$CC" --version) in
esac
# Mold does not yet support LTO.
case $(ld --version) in *mold*)
case $CFLAGS$(ld --version) in *mold*)
_lto=false
esac