mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
gnu: cross-base: Relax check for powerpc64le.
* gnu/packages/cross-base.scm (cross-gcc-arguments): When conditionally adding "--with-long-double-128", check for "powerpc64le-" prefix instead of matching full target. Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
This commit is contained in:
parent
b5116db5c0
commit
58452d08ff
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ (define (cross-gcc-arguments target xgcc libc)
|
|||
"--disable-decimal-float" ;would need libc
|
||||
"--disable-libcilkrts"
|
||||
|
||||
,@(if (equal? "powerpc64le-linux-gnu" target)
|
||||
,@(if (string-prefix? "powerpc64le-" target)
|
||||
;; On POWER9 (little endian) glibc needs
|
||||
;; the 128-bit long double type.
|
||||
'("--with-long-double-128")
|
||||
|
|
Loading…
Reference in a new issue