diff options
author | Carl Dong <contact@carldong.me> | 2021-03-28 10:51:16 -0700 |
---|---|---|
committer | Chris Marusich <cmmarusich@gmail.com> | 2021-03-28 10:55:49 -0700 |
commit | 58452d08ff3e0044e9a32e6d5b3663cf185d8b33 (patch) | |
tree | c3f66b4ecdae7b6f3745514c00bcd66fb8402361 | |
parent | b5116db5c05f662f775096ef4c105fa7aea5c8b4 (diff) | |
download | guix-58452d08ff3e0044e9a32e6d5b3663cf185d8b33.tar.gz |
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>
-rw-r--r-- | gnu/packages/cross-base.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index bea2d69876..180594509b 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -153,7 +153,7 @@ base compiler and using LIBC (which may be either a libc package or #f.)" "--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") |