From 340f50a53c4cb4a5c217eadabe6347b8dae52c63 Mon Sep 17 00:00:00 2001
From: pwpiwi <pwpiwi@users.noreply.github.com>
Date: Tue, 26 Sep 2017 18:15:19 +0200
Subject: [PATCH] Don't ignore environment variables CFLAGS and LDFLAGS for
 tools as well

---
 tools/mfkey/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/mfkey/Makefile b/tools/mfkey/Makefile
index 92d3be72..9dab37f5 100755
--- a/tools/mfkey/Makefile
+++ b/tools/mfkey/Makefile
@@ -1,8 +1,8 @@
 VPATH = ../../common ../../common/crapto1 ../../client
 CC = gcc
 LD = gcc
-CFLAGS = -std=c99 -D_ISOC99_SOURCE -I../../include -I../../common -I../../client -Wall -O3
-LDFLAGS =
+CFLAGS += -std=c99 -D_ISOC99_SOURCE -I../../include -I../../common -I../../client -Wall -O3
+LDFLAGS +=
 
 OBJS = crypto1.o crapto1.o parity.o util_posix.o mfkey.o
 EXES = mfkey32 mfkey64
-- 
2.39.5