fix mac build

master
Willem Melching 2020-09-09 17:40:14 +02:00
parent 525387e1ad
commit 42e105ec1c
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class BuildExtWithoutPlatformSuffix(build_ext):
return get_ext_filename_without_platform_suffix(filename)
extra_compile_args = ["-std=c++14"]
extra_compile_args = ["-std=c++14", "-Wno-nullability-completeness"]
ARCH = subprocess.check_output(["uname", "-m"], encoding='utf8').rstrip() # pylint: disable=unexpected-keyword-arg
if ARCH == "aarch64":
extra_compile_args += ["-Wno-deprecated-register"]