From 5fcb592c65af2a944df012c76bed0b3169d37c8c Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sun, 14 May 2023 02:37:32 +0200 Subject: [PATCH] ci: Let compiler figure out what linker to use This is broken somehow. Can't be bothered to fix it - works without it anyway! --- .github/workflows/main.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 35c94b4e..68309c30 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -393,8 +393,6 @@ jobs: echo "CMAKE_C_COMPILER=gcc-${compiler[1]}" >> "$GITHUB_ENV" echo "CMAKE_CXX_COMPILER=g++-${compiler[1]}" >> "$GITHUB_ENV" - echo "CMAKE_C_FLAGS=-fuse-ld=ld" >> "$GITHUB_ENV" - echo "CMAKE_CXX_FLAGS=-fuse-ld=ld" >> "$GITHUB_ENV" elif [[ "${compiler[0]}" == "Clang" ]]; then curl -jLo /tmp/llvm.sh "https://apt.llvm.org/llvm.sh" chmod +x /tmp/llvm.sh @@ -409,8 +407,6 @@ jobs: echo "CMAKE_C_COMPILER=clang-${compiler[1]}" >> "$GITHUB_ENV" echo "CMAKE_CXX_COMPILER=clang++-${compiler[1]}" >> "$GITHUB_ENV" - echo "CMAKE_C_FLAGS=-fuse-ld=ld.lld" >> "$GITHUB_ENV" - echo "CMAKE_CXX_FLAGS=-fuse-ld=ld.lld" >> "$GITHUB_ENV" else echo "Unknown Compiler" exit 1