guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#48325] [PATCH 3/4] gnu: openlibm: Update to 0.7.4.


From: Maxime Devos
Subject: [bug#48325] [PATCH 3/4] gnu: openlibm: Update to 0.7.4.
Date: Thu, 01 Jul 2021 10:22:03 +0200
User-agent: Evolution 3.34.2

>      (arguments
>       `(#:make-flags
> -       (list (string-append "prefix=" (assoc-ref %outputs "out")))
> +       (list (string-append "prefix=" (assoc-ref %outputs "out")) "CC=gcc")

The cross-compiler TARGET-gcc is require when cross-compiling,
so you need ,(string-append "CC=" (cc-for-target)) instead of "CC=gcc"
here. "gcc" is always the native compiler.

You can test if cross-compilation seems to work with
  ./pre-inst-env guix build --target=aarch64-linux-gnu openlibm

Greetings,
Maxime.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]