mirror of
https://github.com/zen-browser/desktop.git
synced 2026-06-17 17:01:13 +00:00
gh-14208: Only set CXX and CC flags for linux (gh-14225)
This commit is contained in:
14
.github/workflows/src/release-build.sh
vendored
14
.github/workflows/src/release-build.sh
vendored
@@ -8,12 +8,14 @@ if command -v apt-get &> /dev/null; then
|
||||
sudo apt-get install -y xvfb libnvidia-egl-wayland1 mesa-utils libgl1-mesa-dri
|
||||
fi
|
||||
|
||||
if test -d "$HOME/.mozbuild/clang/bin"; then
|
||||
export CC="$HOME/.mozbuild/clang/bin/clang"
|
||||
export CXX="$HOME/.mozbuild/clang/bin/clang++"
|
||||
else
|
||||
export CC=clang
|
||||
export CXX=clang++
|
||||
if ! test "$ZEN_CROSS_COMPILING" && test "$(uname -s)" = "Linux"; then
|
||||
if test -d "$HOME/.mozbuild/clang/bin"; then
|
||||
export CC="$HOME/.mozbuild/clang/bin/clang"
|
||||
export CXX="$HOME/.mozbuild/clang/bin/clang++"
|
||||
else
|
||||
export CC=clang
|
||||
export CXX=clang++
|
||||
fi
|
||||
fi
|
||||
|
||||
mkdir -p ~/.zen-keys
|
||||
|
||||
Reference in New Issue
Block a user