Updates vendored mason to v0.4 for LLVM 3.9.1

This commit is contained in:
Daniel J. Hofmann
2017-01-09 14:26:44 +05:30
105 changed files with 1873 additions and 1000 deletions
@@ -10,8 +10,10 @@ function mason_build {
# copy share
mkdir -p "${MASON_PREFIX}/share"
cp -r "${CLANG_PREFIX}/share/${MASON_NAME}" "${MASON_PREFIX}/share/"
# directory only present with llvm >= 3.9
if [[ -d "{CLANG_PREFIX}/share/${MASON_NAME}" ]]; then
cp -r "${CLANG_PREFIX}/share/${MASON_NAME}" "${MASON_PREFIX}/share/"
fi
}
function mason_cflags {