diff --git a/script/ci.sh b/script/ci.sh index 48231928..803d202b 100755 --- a/script/ci.sh +++ b/script/ci.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + make compiler_specs out/Default/compiler_specs diff --git a/tree_sitter.gyp b/tree_sitter.gyp index 0feea7db..ea98a8dd 100644 --- a/tree_sitter.gyp +++ b/tree_sitter.gyp @@ -49,10 +49,12 @@ }, ], 'target_defaults': { + 'cflags_cc': [ + '-std=c++0x', + ], 'xcode_settings': { 'ALWAYS_SEARCH_USER_PATHS': 'NO', 'CLANG_CXX_LANGUAGE_STANDARD': 'c++0x', - 'CLANG_CXX_LIBRARY': 'libc++', }, }, }