diff --git a/.gitignore b/.gitignore index cc22f8cdb..96bd43a3e 100644 --- a/.gitignore +++ b/.gitignore @@ -180,7 +180,6 @@ dmypy.json ### Python.VirtualEnv Stack ### # Virtualenv # http://iamzed.com/2009/05/07/a-primer-on-virtualenv/ -[Bb]in [Ii]nclude [Ll]ib [Ll]ib64 @@ -215,7 +214,6 @@ pip-selfcheck.json x64/ x86/ bld/ -[Bb]in/ [Oo]bj/ [Ll]og/ diff --git a/setup.py b/setup.py index 4b18e4dfc..412e1c5df 100644 --- a/setup.py +++ b/setup.py @@ -178,7 +178,7 @@ def get_from_env(key): # cflags += ['/MT'] pass else: - cflags += ['-O3', '-Wextra', '-Werror', '-std=gnu99'] + cflags += ['-O3', '-Wextra', '-Werror', '-Wno-strict-aliasing', '-std=gnu99'] if sys.platform == 'win32': #the windows apis being used under the hood. Since we're static linking we have to follow the entire chain down