[oe] [meta-oe][PATCH 1/8] tomoyo-tools: pass correct libdir to make

Khem Raj raj.khem at gmail.com
Fri Aug 21 16:09:54 UTC 2015


On Fri, Aug 21, 2015 at 2:15 AM, Yi Zhao <yi.zhao at windriver.com> wrote:
>> why was CFLAGS append removed ?
>
>
> There is a redefined warning when compile like below:
>
> In file included from tomoyo-diffpolicy.c:23:0:
> tomoyotools.h:26:0: warning: "_GNU_SOURCE" redefined
>  #define _GNU_SOURCE
>  ^
> In file included from tomoyo-checkpolicy.c:23:0:
> tomoyotools.h:26:0: warning: "_GNU_SOURCE" redefined
>  #define _GNU_SOURCE
>  ^
> <command-line>:0:0: note: this is the location of the previous definition
> <command-line>:0:0: note: this is the location of the previous definition
> In file included from tomoyo-auditd.c:23:0:
> tomoyotools.h:26:0: warning: "_GNU_SOURCE" redefined
>  #define _GNU_SOURCE
>  ^
> <command-line>:0:0: note: this is the location of the previous definition
>
> The _GNU_SOURCE is ready defined in the source and there is not ifdef or
> ifndef for it in the source.

ok. Althogh the difference is that now it will be passed to files that
includes this header only. That may be the right thing



More information about the Openembedded-devel mailing list