guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 3/5] gnu: avr-libc: Fix build.


From: Manolis Ragkousis
Subject: Re: [PATCH 3/5] gnu: avr-libc: Fix build.
Date: Thu, 14 Apr 2016 17:02:53 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

On 04/14/16 16:17, David Thompson wrote:
> +       (modify-phases %standard-phases
> +         (add-before 'unpack 'fix-cpath
> +           (lambda _
> +             ;; C_INCLUDE_PATH poses issues for cross-building, leading to
> +             ;; failures when building avr-libc on 64-bit systems.  Simply
> +             ;; unsetting it allows the build to succeed because it doesn't
> +             ;; try to use any of the native system's headers.
> +             (unsetenv "C_INCLUDE_PATH")
> +             #t)))))

Currently I am building it on arm to see if it works there as well.

The reason why this works is because avr-gcc has it's own definition of
limits.h and it uses that when glibc is not present.

Manolis



reply via email to

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