Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 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 | |