From 2e341bffc90c5a657a55d59d7212bac78fe345aa Mon Sep 17 00:00:00 2001 From: nanoric Date: Mon, 15 Apr 2019 12:26:49 -0400 Subject: [PATCH] [Mod] enable optimize under Linux build --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 05155ce3..086576db 100644 --- a/setup.py +++ b/setup.py @@ -65,6 +65,7 @@ if platform.uname().system == "Windows": extra_link_args = [] else: compiler_flags = ["-std=c++17", + "-O3", # Optimization "-Wno-delete-incomplete", "-Wno-sign-compare", ] extra_link_args = ["-lstdc++"]