diff --git a/projects/clr/rocclr/compiler/lib/complibdefs b/projects/clr/rocclr/compiler/lib/complibdefs index 1e464b6b55..7f3c21a770 100644 --- a/projects/clr/rocclr/compiler/lib/complibdefs +++ b/projects/clr/rocclr/compiler/lib/complibdefs @@ -82,3 +82,6 @@ ifdef ATI_OS_LINUX GCXXOPTS += -fno-rtti endif +ifeq ($(OPENCL_USE_ONE_SC),1) + GCPPFLAGS += $(DEFSWITCH) OPENCL_USE_ONE_SC +endif \ No newline at end of file