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

Yi Zhao yi.zhao at windriver.com
Fri Aug 21 09:15:38 UTC 2015



在 2015年08月21日 15:27, Khem Raj 写道:
> On Thu, Aug 20, 2015 at 11:46 PM, Yi Zhao <yi.zhao at windriver.com> wrote:
>> -CFLAGS_append += "-D_GNU_SOURCE"
>> +
> 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.

Yi

>
>> +EXTRA_OEMAKE = "-e USRLIBDIR=${libdir}"




More information about the Openembedded-devel mailing list