On Fri, Mar 31, 2017 at 01:47:28AM +0200, Clemens Gruber wrote:
> Build fails with the most recent gperf 3.1, disable it because it is not
> essential for libcap.

Hmmm, I'm not sure I like this. using gperf is a runtime performance
optimization and I'd like to keep that. What goes wrong anyways?

Michael

> Signed-off-by: Clemens Gruber <[email protected]>
> ---
>  rules/libcap.in   | 1 -
>  rules/libcap.make | 2 +-
>  2 files changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/rules/libcap.in b/rules/libcap.in
> index 6262467d1..767b4f412 100644
> --- a/rules/libcap.in
> +++ b/rules/libcap.in
> @@ -2,7 +2,6 @@
>  
>  menuconfig LIBCAP
>       tristate
> -     select HOST_GPERF
>       prompt "libcap                        "
>       help
>         A library for getting and setting POSIX.1e capabilities.
> diff --git a/rules/libcap.make b/rules/libcap.make
> index bbcea1064..b0e1e0db6 100644
> --- a/rules/libcap.make
> +++ b/rules/libcap.make
> @@ -33,7 +33,7 @@ LIBCAP_LICENSE_FILES := 
> file://License;md5=3f84fd6f29d453a56514cb7e4ead25f1
>  # 
> ----------------------------------------------------------------------------
>  
>  LIBCAP_MAKE_OPT      := \
> -     prefix= PAM_CAP=no DYNAMIC=yes \
> +     prefix= BUILD_GPERF=no PAM_CAP=no DYNAMIC=yes \
>       LIBATTR=$(call ptx/ifdef, PTXCONF_LIBCAP_SETCAP,yes,no) \
>       lib=lib \
>       CC=$(CROSS_CC) \
> -- 
> 2.12.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> [email protected]

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to