aboutsummaryrefslogtreecommitdiffstats
path: root/meta-qat/recipes-extended/qat/qat16/qat16_2.3.0-34-make-sure-CFLAGS-are-correct.patch
blob: e1ed3fc9ecc06f53238ef9de3028286508a46ba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 83f465ee776868875f6c19c2110eed4db6c547ce Mon Sep 17 00:00:00 2001
From: Anuj Mittal <anujx.mittal@intel.com>
Date: Thu, 10 Sep 2015 11:58:44 +0800
Subject: [PATCH] qat: make sure CFLAGS are correct

Upstream-Status: Submitted

Ensure that all the CFLAGS values are being considered.

Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
---
 quickassist/adf/user/user_proxy/src/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quickassist/adf/user/user_proxy/src/Makefile b/quickassist/adf/user/user_proxy/src/Makefile
index 868313a..efd352c 100644
--- a/quickassist/adf/user/user_proxy/src/Makefile
+++ b/quickassist/adf/user/user_proxy/src/Makefile
@@ -133,7 +133,7 @@ INCLUDES+= -I$(ADF_DIR)/include           \
            -I$(ADF_PLATFORM_DIR)/include  \
            -I$(ADF_CTL_DIR)/include
 
-CFLAGS = -D_GNU_SOURCE -O2 $(INCLUDES)
+CFLAGS += -D_GNU_SOURCE -O2 $(INCLUDES)
 #needed by SAL
 EXTRA_CFLAGS += -fPIC -fno-strict-aliasing
 #include your $(ICP_OS)_$(ICP_OS_LEVEL).mk file
-- 
1.7.9.5