more windows hacks
@@ -10,11 +10,13 @@ from ..exoplanet_version import __version__
def get_compile_args(compiler):
- opts = ["-std=c++11", "-O2", "-DNDEBUG"]
+ opts = ["-std=c++11", "-DNDEBUG"]
if sys.platform == "darwin":
opts += ["-stdlib=libc++", "-mmacosx-version-min=10.7"]
if sys.platform.startswith("win"):
- opts += ["-D_USE_MATH_DEFINES"]
+ opts += ["-D_USE_MATH_DEFINES", "-O0"]
+ else:
+ opts += ["-O2"]
return opts
