[Buildroot] [PATCH v2 1/1] package/tvheadend: Fix static build

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Aug 26 15:03:26 UTC 2015


Dear Bernd Kuhls,

On Wed, 26 Aug 2015 16:58:40 +0200, Bernd Kuhls wrote:

> tvheadend requires to sign a "Contributor License Agreement" when 
> contributing code:
> https://tvheadend.org/projects/tvheadend/wiki/Contributors
> 
> Since you suggested the patch in question I can not sign such a CLA:
> "You affirm that you have the right to provide the contribution (i.e. 
> it's your own work)." ;)
> 
> How to proceed?

I, Thomas Petazzoni, hereby grants Bernd Kuhls the right to submit the
following trivial and stupid piece of code to the tvheadend project
under his own name, and take the entire credit for the submission.

diff --git a/Makefile b/Makefile
index 037e2fa..1b28c8d 100644
--- a/Makefile
+++ b/Makefile
@@ -38,9 +38,9 @@ CFLAGS  += -fms-extensions -funsigned-char -fno-strict-aliasing
 CFLAGS  += -D_FILE_OFFSET_BITS=64
 CFLAGS  += -I${BUILDDIR} -I${ROOTDIR}/src -I${ROOTDIR}
 ifeq ($(CONFIG_ANDROID),yes)
-LDFLAGS += -ldl -lm
+LDFLAGS += -lm
 else
-LDFLAGS += -ldl -lpthread -lm
+LDFLAGS += -lpthread -lm
 endif
 ifeq ($(CONFIG_LIBICONV),yes)
 LDFLAGS += -liconv

Good enough for you? :-)

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list