Simplify static linking configuration in build workflow
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:
2025-01-28 07:57:51 +00:00
parent cb7f03cfaf
commit a933bcfd7a

View File

@@ -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