From e598b9f91c279fc20fc237a7ac6c2db50665b7a4 Mon Sep 17 00:00:00 2001 From: zagorulkinde Date: Mon, 7 Oct 2024 23:36:32 +0300 Subject: [PATCH] fix build on linux --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c327b36..07832f3 100755 --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ if platform.system() == "Windows": extra_compile_args = ["/O2"] else: - extra_compile_args = ["-w", "-O2", "-fPIC"] + extra_compile_args = ["-w", "-O2", "-fPIC", "-Wno-narrowing"] module = setuptools.Extension( # First arg (name) is the full name of the extension, including