diff options
| -rw-r--r-- | meta-networking/recipes-support/ipcalc/ipcalc/0001-Makefile-pass-extra-linker-flags.patch | 31 | ||||
| -rw-r--r-- | meta-networking/recipes-support/ipcalc/ipcalc_0.2.2.bb | 22 |
2 files changed, 53 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 0000000000..38d306475e --- /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 | |||
diff --git a/meta-networking/recipes-support/ipcalc/ipcalc_0.2.2.bb b/meta-networking/recipes-support/ipcalc/ipcalc_0.2.2.bb new file mode 100644 index 0000000000..3e278db688 --- /dev/null +++ b/meta-networking/recipes-support/ipcalc/ipcalc_0.2.2.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | SUMMARY = "Tool to assist in network address calculations for IPv4 and IPv6." | ||
| 2 | HOMEPAGE = "https://github.com/nmav/ipcalc" | ||
| 3 | |||
| 4 | SECTION = "net" | ||
| 5 | |||
| 6 | LICENSE = "GPLv2" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 8 | |||
| 9 | SRC_URI = "\ | ||
| 10 | https://github.com/nmav/ipcalc/archive/${PV}.tar.gz;downloadfilename=ipcalc-${PV}.tar.gz \ | ||
| 11 | file://0001-Makefile-pass-extra-linker-flags.patch \ | ||
| 12 | " | ||
| 13 | |||
| 14 | SRC_URI[md5sum] = "343db932a3ad407328920b7430965faf" | ||
| 15 | SRC_URI[sha256sum] = "bf1b95eca219e564c85fa4233fe65342963cf3e8a303a7e10b4dd7269c864794" | ||
| 16 | |||
| 17 | export USE_GEOIP = "no" | ||
| 18 | |||
| 19 | do_install() { | ||
| 20 | install -d ${D}/${bindir} | ||
| 21 | install -m 0755 ${S}/ipcalc ${D}/${bindir} | ||
| 22 | } | ||
