mirror of
https://github.com/google/brotli.git
synced 2024-11-22 11:40:06 +00:00
setup.py: don't enable c++0x for gcc
This commit is contained in:
parent
c60f6d0d65
commit
8b2ca8efd9
8
setup.py
8
setup.py
@ -70,12 +70,8 @@ class BuildExt(build_ext):
|
||||
|
||||
objects = []
|
||||
for lang, sources in (("c", c_sources), ("c++", cxx_sources)):
|
||||
if lang == "c++":
|
||||
if platform.system() == "Darwin":
|
||||
extra_args.extend(["-stdlib=libc++", "-mmacosx-version-min=10.7"])
|
||||
if self.compiler.compiler_type in ["unix", "cygwin", "mingw32"]:
|
||||
extra_args.append("-std=c++0x")
|
||||
elif self.compiler.compiler_type == "msvc":
|
||||
if lang == "c++":
|
||||
if self.compiler.compiler_type == "msvc":
|
||||
extra_args.append("/EHsc")
|
||||
|
||||
macros = ext.define_macros[:]
|
||||
|
Loading…
Reference in New Issue
Block a user