diff --git a/setup.py b/setup.py index 491e310..64552fc 100644 --- a/setup.py +++ b/setup.py @@ -65,7 +65,8 @@ def march_native(): "cpp/include", ], language='c++', - extra_compile_args=["-O3", "-std=c++11"] + openmp() + march_native() + extra_compile_args=["-O3", "-std=c++11"] + openmp() + march_native(), + extra_link_args=openmp() ) def is_platform_mac():