mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: cross-gcc: Only C and C++ for AVR.
* gnu/packages/cross-base.scm (cross-gcc-arguments) <configure-flags> [target-avr?]: Add --enable-languages=c,c++. Change-Id: I1d63bb1b0a3074b9ff8650c5afb93777183c0ea4 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
d149073eaf
commit
8afa806f32
1 changed files with 6 additions and 1 deletions
|
|
@ -200,13 +200,18 @@ base compiler and using LIBC (which may be either a libc package or #f.)"
|
|||
"/" #$target "/lib"))
|
||||
#~())
|
||||
|
||||
|
||||
#$@(if (target-avr? target)
|
||||
#~("--enable-multilib")
|
||||
#~())
|
||||
|
||||
|
||||
#$@(if (and libc (target-avr? target))
|
||||
#~((string-append "--with-native-system-header-dir="
|
||||
#~(;; By default GCC will attemp to compile
|
||||
;; some libraries for other languages (objc,
|
||||
;; fortran) but compilation fails for AVR.
|
||||
"--enable-languages=c,c++"
|
||||
(string-append "--with-native-system-header-dir="
|
||||
#$libc "/" #$target "/include"))
|
||||
#~()))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue