diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2016-11-01 17:23:03 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-11-14 13:01:11 -0500 |
commit | 80450e62add364bc871d7b45f6781131e8b88d4f (patch) | |
tree | 8c945d0be02e3b92e188b35c8dbef353bb8da2dd /meta-networking/recipes-protocols/tsocks | |
parent | 0a1144767ac1ea3246134b8cb4d619ec9727afd5 (diff) | |
download | meta-openembedded-80450e62add364bc871d7b45f6781131e8b88d4f.tar.gz |
tsocks: fix QA warning for GNU_HASH
Add LDFLAGS variable to Makefile.in so that extra linker flags can be sent
via this variable.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-protocols/tsocks')
-rw-r--r-- | meta-networking/recipes-protocols/tsocks/tsocks/makefile-add-ldflags.patch | 19 | ||||
-rw-r--r-- | meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 4 |
2 files changed, 22 insertions, 1 deletions
diff --git a/meta-networking/recipes-protocols/tsocks/tsocks/makefile-add-ldflags.patch b/meta-networking/recipes-protocols/tsocks/tsocks/makefile-add-ldflags.patch new file mode 100644 index 000000000..21464188c --- /dev/null +++ b/meta-networking/recipes-protocols/tsocks/tsocks/makefile-add-ldflags.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Add LDFLAGS variable to Makefile.in, make sure the extra linker flags can be passed. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
6 | |||
7 | diff --git a/Makefile.in b/Makefile.in | ||
8 | index cad6706..0ed55c5 100644 | ||
9 | --- a/Makefile.in | ||
10 | +++ b/Makefile.in | ||
11 | @@ -50,7 +50,7 @@ ${SAVE}: ${SAVE}.c | ||
12 | ${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c | ||
13 | |||
14 | ${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o | ||
15 | - ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS} | ||
16 | + ${SHCC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS} | ||
17 | ln -sf ${SHLIB} ${LIB_NAME}.so | ||
18 | |||
19 | %.so: %.c | ||
diff --git a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb index b3a9620c6..22287ce26 100644 --- a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb +++ b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | |||
@@ -9,7 +9,9 @@ SECTION = "net" | |||
9 | LICENSE = "GPL-2.0" | 9 | LICENSE = "GPL-2.0" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" |
11 | 11 | ||
12 | SRC_URI = "http://downloads.sourceforge.net/tsocks/tsocks-${PV}.tar.gz" | 12 | SRC_URI = "http://downloads.sourceforge.net/tsocks/tsocks-${PV}.tar.gz \ |
13 | file://makefile-add-ldflags.patch \ | ||
14 | " | ||
13 | 15 | ||
14 | SRC_URI[md5sum] = "51caefd77e5d440d0bbd6443db4fc0f8" | 16 | SRC_URI[md5sum] = "51caefd77e5d440d0bbd6443db4fc0f8" |
15 | SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347" | 17 | SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347" |