Skip to content

Commit b547b00

Browse files
committed
other force static lib flags
1 parent 3872dfe commit b547b00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ jobs:
125125
-DCMAKE_BUILD_TYPE=Release \
126126
-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE \
127127
-DBUILD_SHARED_LIBS=OFF \
128+
-DCMAKE_CXX_FLAGS="-static-libstdc++ -static-libgcc" \
129+
-DCMAKE_EXE_LINKER_FLAGS="-static" \
128130
..
129131
make
130132

0 commit comments

Comments
 (0)