diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-09-04 09:18:50 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-09-04 09:18:50 +0300 |
commit | 37e6965e8954d810738e0b0a86e434ae4e64672b (patch) | |
tree | 4d4ae7f24fe9b868c5b1c7b27ef802a22e31476a /gnu/packages/video.scm | |
parent | 83f262b1690d5dc1bfc85f82cb062bd53cd005d6 (diff) | |
download | guix-37e6965e8954d810738e0b0a86e434ae4e64672b.tar.gz |
gnu: ffmpeg: Build with -fPIC for riscv64-linux.
* gnu/packages/video.scm (ffmpeg)[arguments]: Adjust configure-flags to add '-fPIC' to CFLAGS when building for riscv64-linux.
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r-- | gnu/packages/video.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 214aba26aa..3393a9db65 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1713,6 +1713,10 @@ operate properly.") ;; The static libraries are 23 MiB "--disable-static" + #$@(if (target-riscv64?) + '("--extra-cflags=-fPIC") + '()) + ;; Runtime cpu detection is not implemented on ;; MIPS, so we disable some features. "--disable-mips32r2" |