aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/libleak/libleak/0001-respect-environment-variables.patch
blob: bbdfa3c960680b4dd6376c5fbacdfdaa0d068e85 (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
From ea3f11a7846ad27926c6eacc0534914f4873504f Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 5 Mar 2021 19:30:09 -0800
Subject: [PATCH] respect environment variables

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 1d70f17..c7e726e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CFLAGS = -g -O2 -Wall -fPIC -Ilibwuya
-LDFLAGS = -Llibwuya
+CFLAGS += -g -O2 -Wall -fPIC -Ilibwuya
+LDFLAGS += -Llibwuya
 
 libleak.so: libleak.o
 	CFLAGS='-fPIC' make -C libwuya
-- 
2.30.1