Skip to content

Commit

Permalink
fixup! Enable stack protection (CI release executables)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams committed Aug 1, 2023
1 parent cb36629 commit 322d48d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ jobs:
--disable-valgrind \
--with-oniguruma=builtin \
--enable-static \
--enable-all-static
--enable-all-static \
CFLAGS="-O2 -pthread -fstack-protector-all"
make -j"$(nproc)"
strip ./jq
file ./jq
Expand Down Expand Up @@ -236,7 +237,8 @@ jobs:
--with-oniguruma=builtin \
--disable-shared \
--enable-static \
--enable-all-static
--enable-all-static \
CFLAGS="-O2 -pthread -fstack-protector-all"
make -j$(nproc)
file ./jq.exe
cp ./jq.exe jq-${{ env.SUFFIX }}.exe
Expand Down

0 comments on commit 322d48d

Please sign in to comment.