me
/
guix
Archived
1
0
Fork 0

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.
master
Efraim Flashner 2022-09-04 09:18:50 +03:00
parent 83f262b169
commit 37e6965e89
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 0 deletions

View File

@ -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"