diff options
Diffstat (limited to 'meta-networking/recipes-support/ipcalc/ipcalc/0001-Makefile-pass-extra-linker-flags.patch')
-rw-r--r-- | meta-networking/recipes-support/ipcalc/ipcalc/0001-Makefile-pass-extra-linker-flags.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ipcalc/ipcalc/0001-Makefile-pass-extra-linker-flags.patch b/meta-networking/recipes-support/ipcalc/ipcalc/0001-Makefile-pass-extra-linker-flags.patch new file mode 100644 index 000000000..38d306475 --- /dev/null +++ b/meta-networking/recipes-support/ipcalc/ipcalc/0001-Makefile-pass-extra-linker-flags.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From fd80c0599083013a1b583feba5d7473f52b35938 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mariia Movchan <mmovchan@cisco.com> | ||
3 | Date: Tue, 6 Mar 2018 16:03:39 +0200 | ||
4 | Subject: [PATCH] Makefile: pass extra linker flags | ||
5 | |||
6 | Fixes | ||
7 | ERROR: QA Issue: No GNU_HASH in the elf binary | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Mariia Movchan <mmovchan@cisco.com> | ||
12 | --- | ||
13 | Makefile | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/Makefile b/Makefile | ||
17 | index 8beff8f..047f02a 100644 | ||
18 | --- a/Makefile | ||
19 | +++ b/Makefile | ||
20 | @@ -8,7 +8,7 @@ LIBS?= | ||
21 | VERSION=0.2.2 | ||
22 | CC?=gcc | ||
23 | CFLAGS?=-O2 -g -Wall | ||
24 | -LDFLAGS=$(LIBS) | ||
25 | +LDFLAGS+=$(LIBS) | ||
26 | |||
27 | ifeq ($(USE_GEOIP),yes) | ||
28 | ifeq ($(USE_DYN_GEOIP),yes) | ||
29 | -- | ||
30 | 2.15.1 | ||
31 | |||