[libclc] 109/291: Pass -fno-builtin flag to clang to silence warnings

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit 5631a959571c4e6b744219ee37287e3f2ff11320
Author: Aaron Watry <awatry at gmail.com>
Date:   Sun Dec 29 16:39:55 2013 +0000

    Pass -fno-builtin flag to clang to silence warnings
    
    Reviewed-by: Aaron Watry <awatry at gmail.com>
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@198168 91177308-0d34-0410-b5e6-96231b3b80d8
---
 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 " \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list