[OE-core] [PATCH 1/2] logrotate: obey our flags

Khem Raj raj.khem at gmail.com
Mon Aug 25 17:19:45 UTC 2014


On 14-08-25 21:22:04, Fahad Usman wrote:
> Needed to quiet GNU_HASH warnings, amd some minor fixes.
> 
> Signed-off-by: Fahad Usman <fahad.usman at gmail.com>
> Signed-off-by: Christopher Larson <kergoth at gmail.com>
> ---
>  meta/recipes-extended/logrotate/logrotate_3.8.7.bb |   18 ++++++++++++++++--
>  1 file changed, 16 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-extended/logrotate/logrotate_3.8.7.bb b/meta/recipes-extended/logrotate/logrotate_3.8.7.bb
> index 3a6a228..42cd764 100644
> --- a/meta/recipes-extended/logrotate/logrotate_3.8.7.bb
> +++ b/meta/recipes-extended/logrotate/logrotate_3.8.7.bb
> @@ -16,7 +16,21 @@ SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.g
>  SRC_URI[md5sum] = "99e08503ef24c3e2e3ff74cc5f3be213"
>  SRC_URI[sha256sum] = "f6ba691f40e30e640efa2752c1f9499a3f9738257660994de70a45fe00d12b64"
>  
> -EXTRA_OEMAKE = ""
> +# If RPM_OPT_FLAGS is unset, it adds -g itself rather than obeying our
> +# optimization variables, so use it rather than EXTRA_CFLAGS.
> +EXTRA_OEMAKE = "\
> +    LFS= \
> +    OS_NAME='${OS_NAME}' \
> +    \
> +    'CC=${CC}' \

hmmm CC may have spaces in it so you might need 'CC="${CC}"' or somesuch



More information about the Openembedded-core mailing list