Skip to content

Commit 7145c70

Browse files
committed
compile in O3 mode
1 parent 171bd4a commit 7145c70

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@
3838
from Cython.Build import cythonize
3939
ext_modules = cythonize(Extension(
4040
"bencoder",
41-
[pyx_path]
41+
[pyx_path],
42+
extra_compile_args=['-O3']
4243
))
4344
else:
4445
ext_modules = [Extension(
4546
'bencoder',
46-
[c_path]
47+
[c_path],
48+
extra_compile_args=['-O3']
4749
)]
4850

4951

0 commit comments

Comments
 (0)