aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorCosimo Lupo <cosimo.lupo@daltonmaag.com>2015-12-08 12:33:06 +0000
committerCosimo Lupo <cosimo.lupo@daltonmaag.com>2015-12-08 12:33:06 +0000
commit8b2ca8efd96d811616969f7324d5d614cceae50f (patch)
tree17db53a37fca18f0fe269b9366a4e89410f3e36e /setup.py
parentc60f6d0d655ad8ee990cc03bdbe223910f0ebb55 (diff)
downloadbrotli-8b2ca8efd96d811616969f7324d5d614cceae50f.zip
brotli-8b2ca8efd96d811616969f7324d5d614cceae50f.tar.gz
brotli-8b2ca8efd96d811616969f7324d5d614cceae50f.tar.bz2
setup.py: don't enable c++0x for gcc
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/setup.py b/setup.py
index bc7a52f..331b165 100644
--- a/setup.py
+++ b/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[:]