summaryrefslogtreecommitdiff
path: root/dev-python/pillow-heif/files/pillow-heif-0.21.0-respect-cflags.patch
blob: 543ab690562e86538b0bb72c8cc8b3df65440c5d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/setup.py
+++ b/setup.py
@@ -206,7 +206,7 @@ class PillowHeifBuildExt(build_ext):
             self._add_directory(library_dirs, "/usr/lib")
             self._add_directory(library_dirs, "/lib")
 
-            self._update_extension("_pillow_heif", ["heif"], extra_compile_args=["-O3", "-Werror"])
+            self._update_extension("_pillow_heif", ["heif"])
 
         self.compiler.library_dirs = library_dirs + self.compiler.library_dirs
         self.compiler.include_dirs = include_dirs + self.compiler.include_dirs