--- a/setup.py
+++ b/setup.py
@@ -212,7 +212,7 @@
     cflags = os.environ.get(
         'OVERRIDE_CFLAGS', (
             '-Wextra -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std=c11'
-            ' -pedantic-errors -Werror {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden'
+            ' {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden'
         ).format(
             optimize,
             ' '.join(sanitize_args),

--- a/setup.py
+++ b/setup.py
@@ -217,7 +217,7 @@ def init_env(
     cflags = os.environ.get(
         'OVERRIDE_CFLAGS', (
             '-Wextra {} -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std={}11'
-            ' -pedantic-errors -Werror {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden'
+            ' {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden'
         ).format(
             float_conversion, std,
             optimize,

Fix patch that doesn't apply in v0.15.0
kitty: Fix patch that doesn't apply in v0.15.0
