[Buildroot] [PATCH 08/11] libpng: fix host-libpng build on system on which zlib.h is missing.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 22 14:27:56 UTC 2012


Le Sun, 22 Jul 2012 15:28:36 +0200,
Samuel Martin <s.martin49 at gmail.com> a écrit :

> +-	$(CPP) @LIBPNG_DEFINES@ $(CPPFLAGS) -DPNG_BUILDSYMS $(srcdir)/png.h | \
> ++	$(CPP) @LIBPNG_DEFINES@ $(CPPFLAGS) $(CFLAGS) -DPNG_BUILDSYMS $(srcdir)/png.h | \

Shouldn't we be passing the right arguments in CPPFLAGS instead?

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