diff --git a/fast-rcnn/lib/setup.py b/fast-rcnn/lib/setup.py index 0046d0a..02cbc93 100644 --- a/fast-rcnn/lib/setup.py +++ b/fast-rcnn/lib/setup.py @@ -108,12 +108,12 @@ def build_extensions(self): Extension( "utils.cython_bbox", ["utils/bbox.pyx"], - extra_compile_args=["-Wno-cpp", "-Wno-unused-function"], + extra_compile_args={'gcc': ["-Wno-cpp", "-Wno-unused-function"]}, ), Extension( "utils.cython_nms", ["utils/nms.pyx"], - extra_compile_args=["-Wno-cpp", "-Wno-unused-function"], + extra_compile_args={'gcc': ["-Wno-cpp", "-Wno-unused-function"]}, ), Extension( "nms.cpu_nms",