[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH 1/1] gtk+3: set proper FLAGS for native
From:       ross.burton () intel ! com (Burton, Ross)
Date:       2014-03-31 14:07:09
Message-ID: CAJTo0LYNZB5MGTFctAHD6nA_m+yQeuTiYyztmeFLLF6NPBuQAw () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic