From e2f3debb0ed17f6084e653867bcd3639498ae726 Mon Sep 17 00:00:00 2001 From: "Jonathan M. Henson" Date: Thu, 19 Sep 2019 14:58:33 -0700 Subject: [PATCH] Misc build fixes. (#70) --- .gitignore | 2 -- setup.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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