Skip to content

Commit

Permalink
CI Linux: current live555 build fix
Browse files Browse the repository at this point in the history
Version 2024-10-24 expects std::atomic_flag::test(), which is a C++20
feature but can be omitted if NO_STD_LIB is defined. (passing -std=c++2a
won't help because U20.04 libstdc++ doesn't contain that method).
  • Loading branch information
MartinPulec committed Oct 30, 2024
1 parent 2f9730b commit 2eef496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/install-common-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ download_build_live555() {(
pacman -Rs --noconfirm binutils
elif [ "$(uname -s)" = Linux ]; then
./genMakefiles linux-with-shared-libraries
make -j "$(nproc)"
make -j "$(nproc)" CPLUSPLUS_COMPILER="c++ -DNO_STD_LIB"
else
./genMakefiles macosx-no-openssl
make -j "$(nproc)" CPLUSPLUS_COMPILER="c++ -std=c++11"
Expand Down

0 comments on commit 2eef496

Please sign in to comment.