* Add -Wno-strict-prototypes, to suppress warning

This commit is contained in:
Matthew Honnibal 2015-02-21 20:04:37 -05:00
parent 47a4371fea
commit 6102360111
1 changed files with 1 additions and 2 deletions

View File

@ -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++'])