From: Aaron Watry Date: Sun, 29 Dec 2013 16:39:55 +0000 (+0000) Subject: Pass -fno-builtin flag to clang to silence warnings X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ef48d07efa3d392c3512a9a7d1d2c613862fe8d;p=platform%2Fupstream%2Fllvm.git Pass -fno-builtin flag to clang to silence warnings Reviewed-by: Aaron Watry llvm-svn: 198168 --- diff --git a/libclc/configure.py b/libclc/configure.py index 2038b11..c3f7576 100755 --- a/libclc/configure.py +++ b/libclc/configure.py @@ -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 " \