On Fri, Mar 21, 2014 at 09:04:24AM +0100, Alexander Aring wrote:
> We can have a option like "--disable-shared --disable-static" which
> builds a static library for me. This option makes no sense, instead
> doing a dependency switch on LIBGMP_SHARED by doing ptx/disen in the
> make rule.

No, remove both options and always use the shared lib.

Michael

> Signed-off-by: Alexander Aring <[email protected]>
> ---
>  rules/libgmp.in   | 7 -------
>  rules/libgmp.make | 2 +-
>  2 files changed, 1 insertion(+), 8 deletions(-)
> 
> diff --git a/rules/libgmp.in b/rules/libgmp.in
> index b7127f3..4872dcb 100644
> --- a/rules/libgmp.in
> +++ b/rules/libgmp.in
> @@ -19,11 +19,4 @@ config LIBGMP_SHARED
>       help
>         Create a shared library and install it into /usr/lib
>  
> -config LIBGMP_STATIC
> -     bool
> -     prompt "Create static link library"
> -     help
> -       Create a static link library and install it into /usr/lib.
> -       Normally not needed.
> -
>  endif
> diff --git a/rules/libgmp.make b/rules/libgmp.make
> index 2a1e8be..feaa52e 100644
> --- a/rules/libgmp.make
> +++ b/rules/libgmp.make
> @@ -39,7 +39,7 @@ LIBGMP_ENV  := $(CROSS_ENV)
>  LIBGMP_AUTOCONF := \
>       $(CROSS_AUTOCONF_USR) \
>       --$(call ptx/endis, PTXCONF_LIBGMP_SHARED)-shared \
> -     --$(call ptx/endis, PTXCONF_LIBGMP_STATIC)-static \
> +     --$(call ptx/disen, PTXCONF_LIBGMP_SHARED)-static \
>       --with-gnu-ld \
>       --with-pic
>  
> -- 
> 1.9.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