diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-12-29 13:15:42 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-29 13:31:10 +0100 |
commit | f3c294a2abdfd358c57276b42d535266e2f19984 (patch) | |
tree | 5cc4bf350ee22e7adcaacf80b87a56cc82b0ec49 /build-aux | |
parent | fcc1e6760d5bb980cb3b858e3534033d74e3c9b4 (diff) | |
download | gnu-guix-f3c294a2abdfd358c57276b42d535266e2f19984.tar gnu-guix-f3c294a2abdfd358c57276b42d535266e2f19984.tar.gz |
gnu: coreutils: Fix cross-compilation.
Previously cross-compiling coreutils would fail with:
aarch64-linux-gnu-gcc -Os -g0 -Wl,--as-needed -static -pthread -o src/uptime src/uptime.o src/libver.a lib/libcoreutils.a lib/libcoreutils.a
/gnu/store/hk8615wmmzk28k5z06g69jm6vbhc8lgk-glibc-cross-aarch64-linux-gnu-2.26.105-g0890d5379c-static/lib/libc.a(mktime.o): In function `__mktime_internal':
/tmp/guix-build-glibc-cross-aarch64-linux-gnu-2.26.105-g0890d5379c.drv-0/glibc-2.26-105-g0890d5379c/time/mktime.c:353: multiple definition of `__mktime_internal'
lib/libcoreutils.a(mktime.o):mktime.c:(.text+0x214): first defined here
collect2: error: ld returned 1 exit status
* gnu/packages/base.scm (coreutils)[arguments]: Add #:configure-flags
when cross-compiling.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions