diff --git a/python/cudf/setup.py b/python/cudf/setup.py index 8c3908284ce..171fb7bee69 100644 --- a/python/cudf/setup.py +++ b/python/cudf/setup.py @@ -48,6 +48,13 @@ class build_ext_and_proto(build_ext): + def build_extensions(self): + try: + # Silence the '-Wstrict-prototypes' warning + self.compiler.compiler_so.remove('-Wstrict-prototypes') + except Exception: + pass + build_ext.build_extensions(self) def run(self): # Get protoc protoc = None