mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-15 00:05:06 +00:00
ci: Let compiler figure out what linker to use
This is broken somehow. Can't be bothered to fix it - works without it anyway!
This commit is contained in:
parent
7c44157d59
commit
5fcb592c65
1 changed files with 0 additions and 4 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue