[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36477] [PATCH 27/31] gnu: pkg-config: Fix cross-compilation.
From: |
Marius Bakke |
Subject: |
[bug#36477] [PATCH 27/31] gnu: pkg-config: Fix cross-compilation. |
Date: |
Mon, 08 Jul 2019 20:29:39 +0200 |
User-agent: |
Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) |
Mathieu Othacehe <address@hidden> writes:
> * gnu/packages/pkg-config.scm (%pkg-config)[arguments]: Add configure-flags
> to disable tests that fail when cross-compiling.
> ---
> gnu/packages/pkg-config.scm | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/pkg-config.scm b/gnu/packages/pkg-config.scm
> index 6fc19a975d..0425854a75 100644
> --- a/gnu/packages/pkg-config.scm
> +++ b/gnu/packages/pkg-config.scm
> @@ -1,5 +1,6 @@
> ;;; GNU Guix --- Functional package management for GNU
> ;;; Copyright © 2012, 2013, 2014, 2016 Ludovic Courtès <address@hidden>
> +;;; Copyright © 2019 Mathieu Othacehe <address@hidden>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -48,7 +49,15 @@
> (base32
> "14fmwzki1rlz8bs2p810lk6jqdxsk966d8drgsjmi54cd00rrikg"))))
> (build-system gnu-build-system)
> - (arguments `(#:configure-flags '("--with-internal-glib")))
> + (arguments
> + `(#:configure-flags
> + '("--with-internal-glib"
> + ,@(if (%current-target-system)
> + '("glib_cv_stack_grows=no"
> + "glib_cv_uscore=no"
> + "ac_cv_func_posix_getpwuid_r=yes"
> + "ac_cv_func_posix_getgrgid_r=yes")
> + '()))))
Are these indicative of a problem in our cross stack, or a bug in the
pkg-config build system/code?
LGTM anyway.
signature.asc
Description: PGP signature
[bug#36477] [PATCH 17/31] gnu: texinfo-5: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 28/31] gnu: mkfontdir: Fix aarch64 cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 27/31] gnu: pkg-config: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 29/31] gnu: alsa-utils: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 31/31] gnu: glibc-utf8-locales: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 18/31] gnu: bc: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 00/31] Fix cross-compilation issues, Marius Bakke, 2019/07/08