summaryrefslogtreecommitdiffstats
path: root/libclc/configure.py
diff options
context:
space:
mode:
authorAaron Watry <awatry@gmail.com>2013-12-29 16:39:55 +0000
committerAaron Watry <awatry@gmail.com>2013-12-29 16:39:55 +0000
commit8ef48d07efa3d392c3512a9a7d1d2c613862fe8d (patch)
tree8c62c11729d310d3d36ab1a1c74b5c4aa14f1a4c /libclc/configure.py
parentb38037f7b79e8cf72f560539b3b78cf2419ebcbc (diff)
downloadbcm5719-llvm-8ef48d07efa3d392c3512a9a7d1d2c613862fe8d.tar.gz
bcm5719-llvm-8ef48d07efa3d392c3512a9a7d1d2c613862fe8d.zip
Pass -fno-builtin flag to clang to silence warnings
Reviewed-by: Aaron Watry <awatry@gmail.com> llvm-svn: 198168
Diffstat (limited to 'libclc/configure.py')
-rwxr-xr-xlibclc/configure.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libclc/configure.py b/libclc/configure.py
index 2038b11b637..c3f757622a8 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 " \
OpenPOWER on IntegriCloud