mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cross-base: Build cross-compilers with ‘--enable-languages=c,c++’.
This fixes a regression introduced in
d21d596f72
where the cross-compiler would
fail to build with:
checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [Makefile:13129: configure-target-libobjc] Error 1
* gnu/packages/cross-base.scm (cross-gcc-arguments): Clear
‘--enable-languages’ flag unconditionally.
Change-Id: I2bb38bac42e0791cad617893343c0d3dfc963450
This commit is contained in:
parent
c24db4693f
commit
a84b5f9230
1 changed files with 1 additions and 2 deletions
|
@ -231,8 +231,7 @@ base compiler and using LIBC (which may be either a libc package or #f.)"
|
||||||
|
|
||||||
(remove
|
(remove
|
||||||
(lambda (flag)
|
(lambda (flag)
|
||||||
(or (and #$libc
|
(or (string-prefix? "--enable-languages" flag)
|
||||||
(string-prefix? "--enable-languages" flag))
|
|
||||||
(and #$libc
|
(and #$libc
|
||||||
#$(target-avr? target)
|
#$(target-avr? target)
|
||||||
(string-prefix? "--with-native-system-header-dir"
|
(string-prefix? "--with-native-system-header-dir"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue