[Mod] enable optimize under Linux build
This commit is contained in:
parent
73e135b685
commit
2e341bffc9
1
setup.py
1
setup.py
@ -65,6 +65,7 @@ if platform.uname().system == "Windows":
|
|||||||
extra_link_args = []
|
extra_link_args = []
|
||||||
else:
|
else:
|
||||||
compiler_flags = ["-std=c++17",
|
compiler_flags = ["-std=c++17",
|
||||||
|
"-O3", # Optimization
|
||||||
"-Wno-delete-incomplete", "-Wno-sign-compare",
|
"-Wno-delete-incomplete", "-Wno-sign-compare",
|
||||||
]
|
]
|
||||||
extra_link_args = ["-lstdc++"]
|
extra_link_args = ["-lstdc++"]
|
||||||
|
Loading…
Reference in New Issue
Block a user