From fa079e02b2760b78a0eb497e2390d9562427e24f Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 11 Jun 2024 12:26:38 +0200 Subject: [PATCH] CI live555: add -fPIC The -fPIC argument is needed for live555 on arm64 Linux. --- .github/scripts/install-common-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/install-common-deps.sh b/.github/scripts/install-common-deps.sh index 2704c7ece..e347fb56f 100755 --- a/.github/scripts/install-common-deps.sh +++ b/.github/scripts/install-common-deps.sh @@ -82,7 +82,7 @@ download_build_live555() {( # ensure binutils ld is used (not lld) pacman -Sy --noconfirm binutils elif [ "$(uname -s)" = Linux ]; then - export CXXFLAGS=-DXLOCALE_NOT_USED + export CXXFLAGS="-DXLOCALE_NOT_USED -fPIC" target=linux else target=macosx