mirror of https://github.com/explosion/spaCy.git
remove compile warning noise
This commit is contained in:
parent
00c1992503
commit
0e13f18ea4
2
setup.py
2
setup.py
|
@ -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++'])
|
||||||
|
|
Loading…
Reference in New Issue