Skip to content

Commit

Permalink
Try to fix Ubuntu 24 build
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Jul 20, 2024
1 parent d415c17 commit 032dbfa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion waterfox-kde/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ if test `lsb_release -sc` = "bionic" || test `lsb_release -sc` = "buster" || tes
export PATH=/usr/lib/llvm-15/bin/:$PATH
fi

export XDG_RUNTIME_DIR=/run/user/$(id -u)
export CC=clang
export CXX=clang++
export AR=llvm-ar
Expand All @@ -39,6 +38,12 @@ export RANLIB=llvm-ranlib
export LLVM_PROFDATA=llvm-profdata
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
export GEN_PGO=1
if [ -z "$XDG_RUNTIME_DIR" ]; then
export XDG_RUNTIME_DIR=/run/user/$(id -u)
fi
export LIBGL_ALWAYS_INDIRECT=0
export GALLIUM_DRIVER=llvmpipe

./mach build

echo "Profiling instrumented browser..."
Expand Down

0 comments on commit 032dbfa

Please sign in to comment.