summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-30 18:22:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-30 19:16:09 +0900
commit0717cb84193083cbfb7daee115a82418fd9c1474 (patch)
tree307aa1c6fe296902a97769cd35374ad03ca3556c /.github
parent28214231055d3baf3ee4191520736691146e29c1 (diff)
Try -fstack-protector-strong on MinGW
The CI for MinGW has used it.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/mingw.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
index 001fab9cf1..6f7af8ccf8 100644
--- a/.github/workflows/mingw.yml
+++ b/.github/workflows/mingw.yml
@@ -32,10 +32,10 @@ jobs:
MSYSTEM: ${{ matrix.msystem }}
MSYS2_ARCH: x86_64
CHOST: "x86_64-w64-mingw32"
- CFLAGS: "-march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong"
+ CFLAGS: "-march=x86-64 -mtune=generic -O3 -pipe"
CXXFLAGS: "-march=x86-64 -mtune=generic -O3 -pipe"
CPPFLAGS: "-D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048"
- LDFLAGS: "-pipe -fstack-protector-strong"
+ LDFLAGS: "-pipe"
UPDATE_UNICODE: "UNICODE_FILES=. UNICODE_PROPERTY_FILES=. UNICODE_AUXILIARY_FILES=. UNICODE_EMOJI_FILES=."
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
strategy: