remove compile warning noise

This commit is contained in:
Henning Peters 2015-10-09 07:23:39 +02:00
parent 00c1992503
commit 0e13f18ea4
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ VERSION = '0.93'
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++'])