From b285997a51ee1c74a98ed9dc18a1138125dc0c2a Mon Sep 17 00:00:00 2001
From: foreman
Date: Mon, 30 May 2016 14:05:30 -0400
Subject: [PATCH] P4 to Git Change 1274398 by ashi1@ashi1_win50 on 2016/05/30
13:52:02
SWDEV-95212 - Define SC_CLIENT_INTERFACE_MAJOR_VERSION at more locations.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/build/Makefile.gpu#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/complibdefs#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#47 edit
... //depot/stg/opencl/drivers/opencl/compiler/sc/Interface/SCInterface.h#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/sclibdefs.opencl#10 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#170 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/build/Makefile.gpu#66 edit
---
rocclr/compiler/lib/complibdefs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rocclr/compiler/lib/complibdefs b/rocclr/compiler/lib/complibdefs
index b346776e42..d0cde67b64 100644
--- a/rocclr/compiler/lib/complibdefs
+++ b/rocclr/compiler/lib/complibdefs
@@ -100,3 +100,6 @@ endif
ifneq (,$(wildcard $(COMPLIB_DEPTH)/loaders/elf/utils/blowfish/blowfish.h))
GCPPFLAGS += $(DEFSWITCH) HAVE_BLOWFISH_H
endif
+
+LCXXOPTS += -D SC_CLIENT_INTERFACE_MAJOR_VERSION=$(SC_CLIENT_INTERFACE_MAJOR_VERSION)
+LCOPTS += -D SC_CLIENT_INTERFACE_MAJOR_VERSION=$(SC_CLIENT_INTERFACE_MAJOR_VERSION)