diff --git a/waterfox/build.sh b/waterfox/build.sh index 0418b36..e90fdb0 100755 --- a/waterfox/build.sh +++ b/waterfox/build.sh @@ -26,7 +26,11 @@ export NASM=/usr/lib/nasm-mozilla/bin/nasm fi # For successfull LTO build, we need to use matching LLVM version -if test `lsb_release -sc` = "focal" || test `lsb_release -sc` = "jammy" || test `lsb_release -sc` = "buster" || test `lsb_release -sc` = "bullseye" || test `lsb_release -sc` = "bookworm"; then +if test `lsb_release -sc` = "focal"; then +export PATH=/usr/lib/llvm-17/bin/:$PATH +fi + +if test `lsb_release -sc` = "jammy" || test `lsb_release -sc` = "buster" || test `lsb_release -sc` = "bullseye" || test `lsb_release -sc` = "bookworm"; then export PATH=/usr/lib/llvm-19/bin/:$PATH fi