Merge pull request #135 from henningpeters/patch-1

remove compile warning noise
This commit is contained in:
Matthew Honnibal 2015-10-10 01:40:15 +11:00
commit 8b8d048385
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ VERSION = '0.94'
def main(modules, is_pypy): def main(modules, is_pypy):
language = "cpp" language = "cpp"
includes = ['.', path.join(sys.prefix, 'include')] includes = ['.', path.join(sys.prefix, 'include')]
compile_args = ['-O3', '-Wno-strict-prototypes'] compile_args = ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function']
link_args = [] link_args = []
if sys.prefix == 'darwin': if sys.prefix == 'darwin':
compile_args.append(['-mmacosx-version-min=10.8', '-stdlib=libc++']) compile_args.append(['-mmacosx-version-min=10.8', '-stdlib=libc++'])