diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2016-11-01 17:23:03 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-11-29 08:22:21 -0800 |
commit | a3d23d2c36f39b9c76d0842d6fb2785ac13ee55f (patch) | |
tree | a1e39a5f386afc3b6fbca6348f0a95e25f4781af /meta-networking/recipes-protocols/tsocks/tsocks | |
parent | 35dfe1a9a0c3a799afe18ecc0cd0ce8622212e64 (diff) | |
download | meta-openembedded-contrib-a3d23d2c36f39b9c76d0842d6fb2785ac13ee55f.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>
(cherry picked from commit 80450e62add364bc871d7b45f6781131e8b88d4f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols/tsocks/tsocks')
-rw-r--r-- | meta-networking/recipes-protocols/tsocks/tsocks/makefile-add-ldflags.patch | 19 |
1 files changed, 19 insertions, 0 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 0000000000..21464188ca --- /dev/null +++ b/meta-networking/recipes-protocols/tsocks/tsocks/makefile-add-ldflags.patch @@ -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 <yi.zhao@windriver.com> + +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 |