aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ipcalc/ipcalc/0001-Makefile-pass-extra-linker-flags.patch
blob: e95b6f993f0666b2de5bb8975ac82e58d063be2e (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
From 7fd0e0b88df692dfc67335f235a1bb74854a0498 Mon Sep 17 00:00:00 2001
From: Mariia Movchan <mmovchan@cisco.com>
Date: Tue, 6 Mar 2018 16:03:39 +0200
Subject: [PATCH] Makefile: pass extra linker flags

Fixes
ERROR: QA Issue: No GNU_HASH in the elf binary

Upstream-Status: Pending

Signed-off-by: Mariia Movchan <mmovchan@cisco.com>

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 54569c1..798988f 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ LIBS?=
 VERSION=0.2.3
 CC?=gcc
 CFLAGS?=-O2 -g -Wall
-LDFLAGS=$(LIBS)
+LDFLAGS+=$(LIBS)
 
 ifeq ($(USE_GEOIP),yes)
 ifeq ($(USE_DYN_GEOIP),yes)