[yocto] [PATCH] Added missing CPPFLAGS/CFLAGS/LDFLAGS in sample recipe for morty branch

Burton, Ross ross.burton at intel.com
Mon Jul 17 03:46:36 PDT 2017


On 17 July 2017 at 11:25, Thomas A. F. Thorne MEng AUS MIET <
Thomas.Thorne at net2edge.com> wrote:

> helloworld.c is a C file, not a C++ file.  ${CC} should give you a C
> Compiler.  CPPFLAGS should not be used or necessary for a C compilation.
>

CPPFLAGS is C Preprocesor, you're thinking of CXXFLAGS.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170717/3e0ff8d3/attachment.html>


More information about the yocto mailing list