[Buildroot] [autobuild.buildroot.net] Build results for 2017-02-22

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Feb 23 17:48:07 UTC 2017


Hello,

On Thu, 23 Feb 2017 18:16:55 +0100, Yann E. MORIN wrote:

> So, chocolate-doom uses gcc to link, instead of g++. In so doing, it
> bring in neither libstdc++.a nor libz.a
> 
> I did a quick hack to verify this, and added -lstdc++ and -lz to the SDL
> Libs.Privte in sdl.pc, and the build suceeded.

It should be added to the DirectFB .pc files instead. It's really
DirectFB that is bringing the libstdc++ dependency.

> For the C++ dependency, SDL unconditionally checks for a C++ compiler:
> 
>     AC_PROG_CXX
> 
> so we should probably add a dependency on C++ to SDL.

Why? It's DirectFB that needs it.

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



More information about the buildroot mailing list