mirror of
https://github.com/aristocratos/btop.git
synced 2026-01-29 08:22:05 -05:00
CI: Pass link flags as LDFLAGS to avoid unused argument warning
This commit is contained in:
4
.github/workflows/cmake-linux.yml
vendored
4
.github/workflows/cmake-linux.yml
vendored
@@ -53,8 +53,8 @@ jobs:
|
||||
if [[ "${{ matrix.compiler }}" == "clang" ]]; then
|
||||
export CC=clang-${{ matrix.version }}
|
||||
export CXX=clang++-${{ matrix.version }}
|
||||
export CXXFLAGS="-rtlib=compiler-rt -stdlib=libc++ -unwindlib=libunwind"
|
||||
export LDFLAGS=-fuse-ld=lld
|
||||
export CXXFLAGS="-stdlib=libc++"
|
||||
export LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||
else
|
||||
export CC=gcc-${{ matrix.version }}
|
||||
export CXX=g++-${{ matrix.version }}
|
||||
|
||||
Reference in New Issue
Block a user