Simplify static linking configuration in build workflow
All checks were successful
Build / build (push) Successful in 2m4s
All checks were successful
Build / build (push) Successful in 2m4s
- Remove redundant static linking CMake flags - Streamline build configuration for Clang compilation - Reduce complexity of static build settings
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -48,10 +48,6 @@ jobs:
|
||||
CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DUSE_CLANG=ON \
|
||||
-DBUILD_STATIC=ON \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-static -static-libgcc -static-libstdc++" \
|
||||
-DCMAKE_FIND_LIBRARY_SUFFIXES=".a" \
|
||||
-DCMAKE_CXX_FLAGS="-static-libgcc -static-libstdc++" \
|
||||
-DCMAKE_C_FLAGS="-static-libgcc" \
|
||||
..
|
||||
|
||||
- name: Build the project
|
||||
|
Reference in New Issue
Block a user