[Libclc-dev] [PATCH 2/2] Pass -fno-builtin flag to clang to silence warnings

Tom Stellard tom at stellard.net
Thu Dec 19 21:57:50 PST 2013


From: Tom Stellard <thomas.stellard at amd.com>

---
 configure.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.py b/configure.py
index 2038b11..c3f7576 100755
--- a/configure.py
+++ b/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 " \
-- 
1.8.1.4





More information about the Libclc-dev mailing list