This commit is contained in:
Wolf Vollprecht 2019-03-22 15:05:38 +01:00
parent feff416011
commit 28baacb4e7
1 changed files with 2 additions and 2 deletions

View File

@ -69,8 +69,8 @@ class BuildExt(build_ext):
if sys.platform == 'darwin':
self.c_opts['unix'] += ['-stdlib=libc++', '-mmacosx-version-min=10.7']
if not has_flag(self.compiler, '-std=c++17'):
self.c_opts.remove('-std=c++17')
self.c_opts.append('-std=c++1z')
self.c_opts['unix'].remove('-std=c++17')
self.c_opts['unix'].append('-std=c++1z')
opts = self.c_opts.get(ct, [])
if ct == 'unix':