[Buildroot] [PATCH 3/3] ltrace: Fix "strndup not declared" build failure on powerpc/uclibc

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Aug 9 10:29:06 UTC 2013


Dear Jérôme Pouiller,

On Fri,  9 Aug 2013 11:36:59 +0200, Jérôme Pouiller wrote:
> On some systems, strndup is declared only if _GNU_SOURCE is defined
> 
> Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>

Shouldn't this be globally defined by adding a -D_GNU_SOURCE to the
CFLAGS at the package level?

If not, then anyway your patch needs a Signed-off-by line, and should
be submitted upstream.

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list