Commit cd0e0066 authored by Robert Bradshaw's avatar Robert Bradshaw

Pass clang-only stdlib flag for c++11

parent bcdcd9fb
......@@ -282,6 +282,9 @@ def update_cpp11_extension(ext):
clang_version = get_clang_version(ext.language)
if clang_version:
ext.extra_compile_args.append("-std=c++11")
if sys.platform == "darwin":
ext.extra_compile_args.append("-stdlib=libc++")
ext.extra_compile_args.append("-mmacosx-version-min=10.7")
return ext
return EXCLUDE_EXT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment