Skip to content

Commit

Permalink
Fix Focal build
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Nov 14, 2024
1 parent b67577a commit a7ab59d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion waterfox/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a7ab59d

Please sign in to comment.