Skip to content

Commit dc49d0d

Browse files
committed
Enable stack protection (CI release executables)
1 parent 0f80921 commit dc49d0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ jobs:
9393
--disable-valgrind \
9494
--with-oniguruma=builtin \
9595
--enable-static \
96-
--enable-all-static
96+
--enable-all-static \
97+
CFLAGS="-O2 -pthread -fstack-protector-all"
9798
make -j"$(nproc)"
9899
file ./jq
99100
cp ./jq jq-${{ env.SUFFIX }}

0 commit comments

Comments
 (0)