Skip to content

Commit ffb7647

Browse files
committed
CI: Pass link flags as LDFLAGS to avoid unused argument warning
1 parent fda1868 commit ffb7647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cmake-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
if [[ "${{ matrix.compiler }}" == "clang" ]]; then
5454
export CC=clang-${{ matrix.version }}
5555
export CXX=clang++-${{ matrix.version }}
56-
export CXXFLAGS="-rtlib=compiler-rt -stdlib=libc++ -unwindlib=libunwind"
57-
export LDFLAGS=-fuse-ld=lld
56+
export CXXFLAGS="-stdlib=libc++"
57+
export LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
5858
else
5959
export CC=gcc-${{ matrix.version }}
6060
export CXX=g++-${{ matrix.version }}

0 commit comments

Comments
 (0)