lib/kernel/tce: add opaque-ptr flags into builtin library complation commands
@@ -262,8 +262,8 @@ sleef-pocl/erf.cl
)
-set(DEVICE_C_FLAGS "-DPOCL_DEVICE_ADDRESS_BITS=32")
-set(DEVICE_CL_FLAGS "-D__OPENCL_VERSION__=${TCE_DEVICE_CL_VERSION} ${TCE_DEVICE_EXTENSION_DEFINES}" "-DPOCL_DEVICE_ADDRESS_BITS=32" )
+set(DEVICE_C_FLAGS "-DPOCL_DEVICE_ADDRESS_BITS=32 ${OPAQUE_PTR_FLAGS}")
+set(DEVICE_CL_FLAGS "-D__OPENCL_VERSION__=${TCE_DEVICE_CL_VERSION} ${TCE_DEVICE_EXTENSION_DEFINES} -DPOCL_DEVICE_ADDRESS_BITS=32 ${OPAQUE_PTR_FLAGS}")
separate_arguments(DEVICE_CL_FLAGS)
separate_arguments(TCE_TARGET_CLANG_FLAGS)
