diff --git a/setup.py b/setup.py index d3f2e5e83..28a7e9e66 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,6 @@ def my_customize_compiler(compiler): if platform.python_implementation() == 'PyPy': sysconfig.customize_compiler = my_customize_compiler - #def install_headers(): # dest_dir = path.join(sys.prefix, 'include', 'murmurhash') # if not path.exists(dest_dir): @@ -117,7 +116,7 @@ def run_setup(exts): def main(modules, is_pypy): language = "cpp" includes = ['.', path.join(sys.prefix, 'include')] - compile_args = ['-O3'] + compile_args = ['-O3', '-Wno-strict-prototypes'] link_args = [] if sys.prefix == 'darwin': compile_args.append(['-mmacosx-version-min=10.8', '-stdlib=libc++'])