Pass -fno-builtin flag to clang to silence warnings

Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 198168
This commit is contained in:
Aaron Watry 2013-12-29 16:39:55 +00:00
parent b38037f7b7
commit 8ef48d07ef
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ for target in targets:
for device in available_targets[target]['devices']:
# The rule for building a .bc file for the specified architecture using clang.
clang_bc_flags = "-target %s -I`dirname $in` %s " \
"-fno-builtin " \
"-Dcl_clang_storage_class_specifiers " \
"-Dcl_khr_fp64 " \
"-Dcles_khr_int64 " \