Skip to content

Commit

Permalink
CI live555: moved needed C++ flags to CXXFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPulec committed Jun 11, 2024
1 parent d143212 commit c04aac9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/scripts/install-common-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,14 @@ install_juice() {
)
}

download_build_live555() {
download_build_live555() {(
if is_win; then
target=mingw
PATH=/usr/bin:$PATH
# ensure binutils ld is used (not lld)
pacman -Sy --noconfirm binutils
elif [ "$(uname -s)" = Linux ]; then
export CXXFLAGS=-DXLOCALE_NOT_USED
target=linux
else
target=macosx
Expand All @@ -92,10 +93,11 @@ download_build_live555() {
git checkout 35c375
./genMakefiles "$target"

make -j "$(nproc)" CPLUSPLUS_COMPILER="c++ -DXLOCALE_NOT_USED"
is_win && pacman -Rs --noconfirm binutils
cd ..
}
make -j "$(nproc)"
if is_win; then
pacman -Rs --noconfirm binutils
fi
)}

install_live555() {(
if [ ! -d live555 ]; then
Expand Down

0 comments on commit c04aac9

Please sign in to comment.