diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-12-20 22:21:16 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-20 22:21:16 +0100 |
commit | 066ccc2c69390f630237eadac1f69c03df22b87a (patch) | |
tree | d66aea5f7592018fad4b9874999b347b32810d66 /gnu/packages/base.scm | |
parent | 614fffe4270cef308573a6d9cef650f3972875af (diff) | |
download | guix-066ccc2c69390f630237eadac1f69c03df22b87a.tar guix-066ccc2c69390f630237eadac1f69c03df22b87a.tar.gz |
gnu: gcc: Fix cross-compilation.
Previously "guix build gcc@5 --target=TRIPLET" would fail like this:
checking for exported symbols... /tmp/guix-build-gcc-5.5.0.drv-0/gcc-5.5.0/libcc1/configure: line 14531: -T: command not found
yes
checking for -rdynamic... /tmp/guix-build-gcc-5.5.0.drv-0/gcc-5.5.0/libcc1/configure: line 14541: -T: command not found
no
checking for library containing dlopen... -ldl
checking for -fPIC -shared... yes
configure: error:
Building GCC with plugin support requires a host that supports
-fPIC, -shared, -ldl and -rdynamic.
* gnu/packages/gcc.scm (gcc-4.7)[maybe-target-tools]: Add "OBJDUMP".
(gcc-5)[source](snippet, modules): New fields.
Diffstat (limited to 'gnu/packages/base.scm')
0 files changed, 0 insertions, 0 deletions