[OE-core] [PATCH 1/1] gtk+3: set proper FLAGS for native

Burton, Ross ross.burton at intel.com
Mon Mar 31 14:07:09 UTC 2014


On 30 March 2014 11:30, Robert Yang <liezhi.yang at windriver.com> wrote:
>++CFLAGS = @CFLAGS_FOR_BUILD@
>++CPPFLAGS = @CPPFLAGS_FOR_BUILD@
>++LDFLAGS = @LDFLAGS_FOR_BUILD@

So the problem is that the environment is providing a CFLAGS variable
that automake is then using for native builds alongside
CFLAGS_FOR_BUILD.  Instead of replicating the variables, which this
will do, would it be better to unset CFLAGS/CPPFLAGS/LDFLAGS in this
makefile so the environment variables are not used? (as makefile
assignments override environment assignments).

Ross



More information about the Openembedded-core mailing list