Skip to content

Commit 8ef48d0

Browse files
committed
Pass -fno-builtin flag to clang to silence warnings
Reviewed-by: Aaron Watry <[email protected]> llvm-svn: 198168
1 parent b38037f commit 8ef48d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libclc/configure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def llvm_config(args):
156156
for device in available_targets[target]['devices']:
157157
# The rule for building a .bc file for the specified architecture using clang.
158158
clang_bc_flags = "-target %s -I`dirname $in` %s " \
159+
"-fno-builtin " \
159160
"-Dcl_clang_storage_class_specifiers " \
160161
"-Dcl_khr_fp64 " \
161162
"-Dcles_khr_int64 " \

0 commit comments

Comments
 (0)