mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: tcc: Fix building on armhf-linux.
* gnu/packages/c.scm (tcc)[arguments]: Add 'configure-flag to set the triplet when building for armhf-linux.
This commit is contained in:
parent
0270b24b65
commit
9117d6df87
1 changed files with 6 additions and 1 deletions
|
@ -69,7 +69,12 @@ (define-public tcc
|
|||
"/include:{B}/include")
|
||||
(string-append "--libpaths="
|
||||
(assoc-ref %build-inputs "libc")
|
||||
"/lib"))
|
||||
"/lib")
|
||||
,@(if (string-prefix? "armhf-linux"
|
||||
(or (%current-target-system)
|
||||
(%current-system)))
|
||||
`("--triplet=arm-linux-gnueabihf")
|
||||
'()))
|
||||
#:test-target "test"))
|
||||
;; Fails to build on MIPS: "Unsupported CPU"
|
||||
(supported-systems (delete "mips64el-linux" %supported-systems))
|
||||
|
|
Loading…
Reference in a new issue