blob: 16800d5066661362e1b757c92eed652ec004ad29 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001From 1e1a78b7b4fa1662b4447aa19c15b1e839b7e9db Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Stefan=20M=C3=BCller-Klieser?= <s.mueller-klieser@phytec.de>
3Date: Wed, 24 Aug 2016 10:58:45 +0200
4Subject: [PATCH] Makefile: respect LDFLAGS for libreg
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Signed-off-by: Stefan MΓΌller-Klieser <s.mueller-klieser@phytec.de>
10---
11 Makefile | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/Makefile b/Makefile
15index 2879896..1650db8 100644
16--- a/Makefile
17+++ b/Makefile
18@@ -116,7 +116,7 @@ keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem)
19
20 $(LIBREG): regdb.h reglib.h reglib.c
21 $(NQ) ' CC ' $@
22- $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(LIBREGLDLIBS)
23+ $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(LDFLAGS) $(LIBREGLDLIBS)
24
25 install-libreg-headers:
26 $(NQ) ' INSTALL libreg-headers'
27--
281.9.1
29