From 8ef48d07efa3d392c3512a9a7d1d2c613862fe8d Mon Sep 17 00:00:00 2001 From: Aaron Watry Date: Sun, 29 Dec 2013 16:39:55 +0000 Subject: [PATCH] Pass -fno-builtin flag to clang to silence warnings Reviewed-by: Aaron Watry llvm-svn: 198168 --- libclc/configure.py | 1 + 1 file changed, 1 insertion(+) 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 " \ -- 2.7.4