fix GNU_HASH QA warnings
cover fix GNU_HASH QA warnings
The following changes since commit 7a491f384c277ee42ac895fec6fc2ef70f15df4d:
nodejs: update to 4.6.1 (2016-10-26 10:28:41 +0200)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contrib yzhao/hash-fixes
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=yzhao/hash-fixes
Yi Zhao (6):
aoetools: fix QA warning for GNU_HASH
nuttcp: fix QA warning for GNU_HASH
zeroconf: fix QA warning for GNU_HASH
tsocks: fix QA warning for GNU_HASH
vblade: fix QA warning for GNU_HASH
tunctl: fix QA warning for GNU_HASH
.../vblade/files/makefile-add-ldflags.patch | 19 +++++++++++++ .../recipes-daemons/vblade/vblade_20.bb | 4 ++- .../tsocks/tsocks/makefile-add-ldflags.patch | 19 +++++++++++++ .../recipes-protocols/tsocks/tsocks_1.8beta5.bb | 4 ++- .../zeroconf/zeroconf/makefile-add-ldflags.patch | 19 +++++++++++++ .../recipes-protocols/zeroconf/zeroconf_0.9.bb | 1 + .../aoetools/aoetools/makefile-add-ldflags.patch | 31 ++++++++++++++++++++++ .../recipes-support/aoetools/aoetools_36.bb | 1 + .../recipes-support/nuttcp/nuttcp_7.2.1.bb | 2 +- meta-networking/recipes-support/tunctl/tunctl.inc | 4 ++- .../tunctl/tunctl/makefile-add-ldflags.patch | 19 +++++++++++++ 11 files changed, 119 insertions(+), 4 deletions(-) create mode 100644 meta-networking/recipes-daemons/vblade/files/makefile-add-ldflags.patch create mode 100644 meta-networking/recipes-protocols/tsocks/tsocks/makefile-add-ldflags.patch create mode 100644 meta-networking/recipes-protocols/zeroconf/zeroconf/makefile-add-ldflags.patch create mode 100644 meta-networking/recipes-support/aoetools/aoetools/makefile-add-ldflags.patch create mode 100644 meta-networking/recipes-support/tunctl/tunctl/makefile-add-ldflags.patch
Signature · 1 line
2.7.4
PATCH 1/6 aoetools: fix QA warning for GNU_HASH
Add LDFLAGS variable to Makefile so that extra linker flags can be sent via this variable.
--- .../aoetools/aoetools/makefile-add-ldflags.patch | 31 ++++++++++++++++++++++ .../recipes-support/aoetools/aoetools_36.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-networking/recipes-support/aoetools/aoetools/makefile-add-ldflags.patch
meta-networking/recipes-support/aoetools/aoetools/makefile-add-ldflags.patch new file +31 -0
@@ -0,0 +1,31 @@ +Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed. + +Upstream-Status: Pending + +Signed-off-by: Yi Zhao <[email protected]> + +diff --git a/Makefile b/Makefile +index 0c56ade..79f2e2b 100644 +--- a/Makefile ++++ b/Makefile +@@ -68,17 +68,17 @@ clean : + rm -f ${CONF_SCRIPTS} ${AOE_PING_OBJ} ${AOE_CFG_OBJ} ${SANCHECK_OBJ} ${PROGS} + + aoeping : ${AOE_PING_OBJ} +- ${CC} ${CFLAGS} -o $@ ${AOE_PING_OBJ} ++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${AOE_PING_OBJ} + aoeping.o : aoeping.c dat.h fns.h + ${CC} ${CFLAGS} -o $@ -c $< + linux.o : linux.c config.h + ${CC} ${CFLAGS} -o $@ -c $< + aoecfg: ${AOE_CFG_OBJ} +- ${CC} ${CFLAGS} -o $@ ${AOE_CFG_OBJ} ++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${AOE_CFG_OBJ} + aoecfg.o : aoecfg.c dat.h fns.h + ${CC} ${CFLAGS} -o $@ -c $< + aoe-sancheck : ${SANCHECK_OBJ} +- -$(CC) $(CFLAGS) -o $@ ${SANCHECK_OBJ} $(SANCHECKLIBS) ++ -$(CC) $(CFLAGS) ${LDFLAGS} -o $@ ${SANCHECK_OBJ} $(SANCHECKLIBS) + aoe-sancheck.o : aoe-sancheck.c + -$(CC) $(CFLAGS) -o $@ -c $< +
meta-networking/recipes-support/aoetools/aoetools_36.bb +1 -0
@@ -12,6 +12,7 @@ RRECOMMENDS_${PN} = "kernel-module-aoe" SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}/${BPN}-${PV}.tar.gz \ file://aoe-stat-no-bashism.patch \ + file://makefile-add-ldflags.patch \ " SRC_URI[md5sum] = "bff30daa988a65f69d4448ce4726a6db" SRC_URI[sha256sum] = "fb5e2cd0de7644cc1ec04ee3aeb43211cf7445a0c19e13d6b3ed5a8fbdf215ff"
Signature · 1 line
2.7.4
PATCH 2/6 nuttcp: fix QA warning for GNU_HASH
In reply to Yi ZhaoSet LDFLAGS explicitly for do_compile
--- meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/nuttcp/nuttcp_7.2.1.bb +1 -1
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "c6e33810ccce67260f8d5d627f60e429d44f532365c58ed5673d035e2a S = "${WORKDIR}" do_compile () { - ${CC} ${CFLAGS} -o nuttcp nuttcp-${PV}.c + ${CC} ${CFLAGS} ${LDFLAGS} -o nuttcp nuttcp-${PV}.c } do_install () {
Signature · 1 line
2.7.4
PATCH 3/6 zeroconf: fix QA warning for GNU_HASH
In reply to Yi ZhaoAdd LDFLAGS variable to Makefile so that extra linker flags can be sent via this variable.
--- .../zeroconf/zeroconf/makefile-add-ldflags.patch | 19 +++++++++++++++++++ .../recipes-protocols/zeroconf/zeroconf_0.9.bb | 1 + 2 files changed, 20 insertions(+) create mode 100644 meta-networking/recipes-protocols/zeroconf/zeroconf/makefile-add-ldflags.patch
meta-networking/recipes-protocols/zeroconf/zeroconf/makefile-add-ldflags.patch new file +19 -0
@@ -0,0 +1,19 @@ +Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed. + +Upstream-Status: Pending + +Signed-off-by: Yi Zhao <[email protected]> + +diff --git a/Makefile b/Makefile +index 77f3364..c98083f 100644 +--- a/Makefile ++++ b/Makefile +@@ -18,7 +18,7 @@ clean: + + zeroconf: zeroconf.o delay.o + $(Q)echo "Creating $@" +- $(Q)$(CC) $(CFLAGS) -o $@ $^ $(LIBS) ++ $(Q)$(CC) $(CFLAGS) ${LDFLAGS} -o $@ $^ $(LIBS) + + + # Automatic dependency generation
meta-networking/recipes-protocols/zeroconf/zeroconf_0.9.bb +1 -0
@@ -18,6 +18,7 @@ PR = "r1" SRC_URI = "http://www.progsoc.org/~wildfire/zeroconf/download/${BPN}-${PV}.tar.gz \ file://compilefix.patch \ + file://makefile-add-ldflags.patch \ file://zeroconf-default \ file://debian-zeroconf"
Signature · 1 line
2.7.4
PATCH 4/6 tsocks: fix QA warning for GNU_HASH
In reply to Yi ZhaoAdd LDFLAGS variable to Makefile.in so that extra linker flags can be sent via this variable.
--- .../tsocks/tsocks/makefile-add-ldflags.patch | 19 +++++++++++++++++++ .../recipes-protocols/tsocks/tsocks_1.8beta5.bb | 4 +++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-protocols/tsocks/tsocks/makefile-add-ldflags.patch
meta-networking/recipes-protocols/tsocks/tsocks/makefile-add-ldflags.patch new file +19 -0
@@ -0,0 +1,19 @@ +Add LDFLAGS variable to Makefile.in, make sure the extra linker flags can be passed. + +Upstream-Status: Pending + +Signed-off-by: Yi Zhao <[email protected]> + +diff --git a/Makefile.in b/Makefile.in +index cad6706..0ed55c5 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -50,7 +50,7 @@ ${SAVE}: ${SAVE}.c + ${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c + + ${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o +- ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS} ++ ${SHCC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS} + ln -sf ${SHLIB} ${LIB_NAME}.so + + %.so: %.c
meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb +3 -1
@@ -9,7 +9,9 @@ SECTION = "net" LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" -SRC_URI = "http://downloads.sourceforge.net/tsocks/tsocks-${PV}.tar.gz" +SRC_URI = "http://downloads.sourceforge.net/tsocks/tsocks-${PV}.tar.gz \ + file://makefile-add-ldflags.patch \ + " SRC_URI[md5sum] = "51caefd77e5d440d0bbd6443db4fc0f8" SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347"
Signature · 1 line
2.7.4
PATCH 5/6 vblade: fix QA warning for GNU_HASH
In reply to Yi ZhaoAdd LDFLAGS variable to Makefile so that extra linker flags can be sent via this variable.
--- .../vblade/files/makefile-add-ldflags.patch | 19 +++++++++++++++++++ meta-networking/recipes-daemons/vblade/vblade_20.bb | 4 +++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-daemons/vblade/files/makefile-add-ldflags.patch
meta-networking/recipes-daemons/vblade/files/makefile-add-ldflags.patch new file +19 -0
@@ -0,0 +1,19 @@ +Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed. + +Upstream-Status: Pending + +Signed-off-by: Yi Zhao <[email protected]> + +diff --git a/makefile b/makefile +index 98008da..c328ba7 100644 +--- a/makefile ++++ b/makefile +@@ -11,7 +11,7 @@ mandir = ${sharedir}/man + O=aoe.o bpf.o ${PLATFORM}.o ata.o + + vblade: $O +- ${CC} -o vblade $O ++ ${CC} ${LDFLAGS} -o vblade $O + + aoe.o : aoe.c config.h dat.h fns.h makefile + ${CC} ${CFLAGS} -c $<
meta-networking/recipes-daemons/vblade/vblade_20.bb +3 -1
@@ -5,7 +5,9 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" SRC_URI = "${SOURCEFORGE_MIRROR}/aoetools/${BPN}-${PV}.tgz \ - file://cross.patch" + file://cross.patch \ + file://makefile-add-ldflags.patch \ + " SRC_URI[md5sum] = "3c80e4a6bc7d66ae0c235b88cb44bd59" SRC_URI[sha256sum] = "c8fe2fc4f2fba8e07e5cfdf17335982584eef2cd5c78bf8b1db93f2b56e7121d"
Signature · 1 line
2.7.4
PATCH 6/6 tunctl: fix QA warning for GNU_HASH
In reply to Yi ZhaoAdd LDFLAGS variable to Makefile so that extra linker flags can be sent via this variable.
--- meta-networking/recipes-support/tunctl/tunctl.inc | 4 +++- .../tunctl/tunctl/makefile-add-ldflags.patch | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-support/tunctl/tunctl/makefile-add-ldflags.patch
meta-networking/recipes-support/tunctl/tunctl.inc +3 -1
@@ -3,7 +3,9 @@ SECTION = "net" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://tunctl.c;beginline=1;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999" -SRC_URI = "${SOURCEFORGE_MIRROR}/tunctl/tunctl-${PV}.tar.gz" +SRC_URI = "${SOURCEFORGE_MIRROR}/tunctl/tunctl-${PV}.tar.gz \ + file://makefile-add-ldflags.patch \ + " do_compile() { oe_runmake tunctl
meta-networking/recipes-support/tunctl/tunctl/makefile-add-ldflags.patch new file +19 -0
@@ -0,0 +1,19 @@ +Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed. + +Upstream-Status: Pending + +Signed-off-by: Yi Zhao <[email protected]> + +diff --git a/Makefile b/Makefile +index a0aa7f6..d6ce2c7 100644 +--- a/Makefile ++++ b/Makefile +@@ -14,7 +14,7 @@ MAN_DIR ?= /usr/share/man/man$(MANS) + all : $(BIN) $(MAN) + + $(BIN) : $(BIN).c +- $(CC) $(CFLAGS) -o $(BIN) $(BIN).c ++ $(CC) $(CFLAGS) ${LDFLAGS} -o $(BIN) $(BIN).c + + $(MAN) : $(PACKAGE).sgml + docbook2man $(PACKAGE).sgml
Signature · 1 line
2.7.4