From a7ab59d68a2c28404fc92f0b32a4f3d75fbe6055 Mon Sep 17 00:00:00 2001 From: hawkeye116477 Date: Thu, 14 Nov 2024 22:23:59 +0100 Subject: [PATCH] Fix Focal build --- waterfox/build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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