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

Thomas A. F. Thorne MEng AUS MIET Thomas.Thorne at Net2Edge.com
Mon Jul 17 03:54:44 PDT 2017


On 17/07/17 11:46, Burton, Ross wrote:
>
> On 17 July 2017 at 11:25, Thomas A. F. Thorne MEng AUS MIET
> <Thomas.Thorne at net2edge.com <mailto: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
Ah yes, my mistake.  Thank you for correcting me. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170717/3962e869/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170717/3962e869/attachment.pgp>


More information about the yocto mailing list