diff options
author | Anuj Mittal <anujx.mittal@intel.com> | 2015-07-16 12:54:05 +0800 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-07-22 10:01:36 -0700 |
commit | 0c2a5e135860356cf51d1477e6dca8a320841e90 (patch) | |
tree | f472c5c450618b8766a9941db66bcd77f71dbebb /meta-crystalforest/recipes-extended/zlib-qat/zlib-qat/zlib-qat-qat_mem-use-the-right-compiler.patch | |
parent | 3ee02a36e0d1126fda0c6ea6a1bef4db08b8be7a (diff) | |
download | meta-intel-0c2a5e135860356cf51d1477e6dca8a320841e90.tar.gz |
meta-crystalforest: use correct compiler for zlib
Changed the qat_mem makefile to use $(CC) instead
of gcc directly. This avoids build errors and makes
sure that right options are being passed for cross-compile.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'meta-crystalforest/recipes-extended/zlib-qat/zlib-qat/zlib-qat-qat_mem-use-the-right-compiler.patch')
-rw-r--r-- | meta-crystalforest/recipes-extended/zlib-qat/zlib-qat/zlib-qat-qat_mem-use-the-right-compiler.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-crystalforest/recipes-extended/zlib-qat/zlib-qat/zlib-qat-qat_mem-use-the-right-compiler.patch b/meta-crystalforest/recipes-extended/zlib-qat/zlib-qat/zlib-qat-qat_mem-use-the-right-compiler.patch new file mode 100644 index 00000000..7b9af291 --- /dev/null +++ b/meta-crystalforest/recipes-extended/zlib-qat/zlib-qat/zlib-qat-qat_mem-use-the-right-compiler.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 22a4ef23792251c284d9766ab5ee87cbeeef2ec4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Anuj Mittal <anujx.mittal@intel.com> | ||
3 | Date: Thu, 16 Jul 2015 11:05:38 +0800 | ||
4 | Subject: [PATCH] qat_mem: use the right compiler | ||
5 | |||
6 | Upstream-Status: Inappropriate [Configuration] | ||
7 | |||
8 | Use $(CC) instead of gcc directly. Makes sure that the | ||
9 | right options are being passed for cross-compile. | ||
10 | |||
11 | Signed-off-by: Anuj Mittal <anujx.mittal@intel.com> | ||
12 | --- | ||
13 | contrib/qat/qat_mem/Makefile | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/contrib/qat/qat_mem/Makefile b/contrib/qat/qat_mem/Makefile | ||
17 | index 0a521f2..2c7c8dc 100644 | ||
18 | --- a/contrib/qat/qat_mem/Makefile | ||
19 | +++ b/contrib/qat/qat_mem/Makefile | ||
20 | @@ -64,7 +64,7 @@ MODULENAME := qat_mem | ||
21 | KDIR := $(KERNEL_SOURCE_ROOT) | ||
22 | PWD := $(shell pwd) | ||
23 | |||
24 | -CC := gcc -Wall -imacros $(KERNEL_SOURCE_ROOT)/include/generated/autoconf.h | ||
25 | +CC := $(CC) -Wall -imacros $(KERNEL_SOURCE_ROOT)/include/generated/autoconf.h | ||
26 | |||
27 | ifeq ($(KERNELRELEASE),) | ||
28 | all: $(MODULENAME)_test | ||
29 | -- | ||
30 | 1.7.9.5 | ||
31 | |||