mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: libjpeg-turbo: Fix cross-compiling to riscv64-linux.
* gnu/packages/image.scm (libjpeg-turbo)[arguments]: When cross-compiling to riscv64-linux correctly set CMAKE_SYSTEM_PROCESSOR.
This commit is contained in:
parent
58e3a917e3
commit
df03e7a601
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net>
|
||||
;;; Copyright © 2014, 2017 John Darrington <jmd@gnu.org>
|
||||
;;; Copyright © 2016, 2017, 2018, 2020 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
|
||||
;;; Copyright © 2016, 2017, 2020, 2021 Arun Isaac <arunisaac@systemreboot.net>
|
||||
|
@ -1691,6 +1691,8 @@ (define-public libjpeg-turbo
|
|||
;; 32-bit and 64-bit
|
||||
((string-prefix? "powerpc" target)
|
||||
`("-DCMAKE_SYSTEM_PROCESSOR=powerpc"))
|
||||
((string-prefix? "riscv64" target)
|
||||
`("-DCMAKE_SYSTEM_PROCESSOR=riscv64"))
|
||||
(else '()))
|
||||
'())))
|
||||
,@(if (%current-target-system)
|
||||
|
|
Loading…
Reference in a new issue