[Buildroot] [PATCH 1/2] uclibc: Fix getopt implementations conditional compilation

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Mar 20 22:44:37 UTC 2015


Dear Max Filippov,

On Tue, 17 Mar 2015 02:30:27 +0300, Max Filippov wrote:
> There's no way to disable getsubopt in uClibc 0.9.33.2: either GNU or
> SUSv3 getsubopt is always built.
> 
> Properly exclude SUSv3 getsubopt implementation when GNU getopt is
> selected.
> Exclude GNU getsubopt when SUSv3 getopt is selected. Honor getopt_long
> configuration.
> 
> This brings UCLIBC_HAS_GNU_GETOPT, UCLIBC_HAS_GNU_GETSUBOPT and
> UCLIBC_HAS_GETOPT_LONG handling in sync with uClibc and uClibc-ng tips.
> 
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>

Both patches applied, thanks!

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


More information about the buildroot mailing list