[libclc] r198168 - Pass -fno-builtin flag to clang to silence warnings
Aaron Watry
awatry at gmail.com
Sun Dec 29 08:39:55 PST 2013
Author: awatry
Date: Sun Dec 29 10:39:55 2013
New Revision: 198168
URL: http://llvm.org/viewvc/llvm-project?rev=198168&view=rev
Log:
Pass -fno-builtin flag to clang to silence warnings
Reviewed-by: Aaron Watry <awatry at gmail.com>
Modified:
libclc/trunk/configure.py
Modified: libclc/trunk/configure.py
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/configure.py?rev=198168&r1=198167&r2=198168&view=diff
==============================================================================
--- libclc/trunk/configure.py (original)
+++ libclc/trunk/configure.py Sun Dec 29 10:39:55 2013
@@ -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 " \
More information about the cfe-commits
mailing list