diff --git a/.appveyor.yml b/.appveyor.yml
index 7e08602fe3015a2637ae8f6c30ae6b8c45542bbf..a74c1861c5e57b8afff10b3210d881bf59e07017 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -18,7 +18,7 @@ environment:
   - target: i686-w64-mingw32
     compiler_path: mingw32
     mingw_prefix: mingw-w64-i686
-    hardening:
+    hardening: --enable-all-bugs-are-fatal
   - target: x86_64-w64-mingw32
     compiler_path: mingw64
     mingw_prefix: mingw-w64-x86_64
@@ -36,7 +36,7 @@ matrix:
       target: i686-w64-mingw32
       compiler_path: mingw32
       mingw_prefix: mingw-w64-i686
-      hardening:
+      hardening: --enable-all-bugs-are-fatal
     - image: Visual Studio 2015
       target: x86_64-w64-mingw32
       compiler_path: mingw64