GNU bug report logs -
#36477
Add Guix System cross-compilation support
Previous Next
Full log
Message #158 received at 36477 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Mathieu Othacehe <m.othacehe <at> gmail.com> 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 <ludo <at> gnu.org>
> +;;; Copyright © 2019 Mathieu Othacehe <m.othacehe <at> gmail.com>
> ;;;
> ;;; 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 (application/pgp-signature, inline)]
This bug report was last modified 5 years and 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.