summaryrefslogtreecommitdiffstats
path: root/libclc/configure.py
diff options
context:
space:
mode:
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 1a986475ab2..dbb578bbdb6 100755
--- a/libclc/configure.py
+++ b/libclc/configure.py
@@ -145,6 +145,7 @@ for target in targets:
clang_bc_flags = "-target %s -I`dirname $in` %s " \
"-Dcl_clang_storage_class_specifiers " \
"-Dcl_khr_fp64 " \
+ "-D__CLC_INTERNAL " \
"-emit-llvm" % (target, clang_cl_includes)
if device['gpu'] != '':
clang_bc_flags += ' -mcpu=' + device['gpu']
OpenPOWER on IntegriCloud