mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: ffmpeg: Fix build on i686 with binutils 2.41.
* gnu/packages/video.scm (ffmpeg): Add 'bypass-openal-check phase which breaks configure phase on i686. Unconditionally set openal configure check to true. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Change-Id: Iddba489690a42a5e9f9a40f9a238c658ddac6e20
This commit is contained in:
parent
cbfa5ed392
commit
2bfa848a41
1 changed files with 12 additions and 0 deletions
|
@ -1836,6 +1836,18 @@ (define-public ffmpeg
|
|||
"--disable-mipsfpu")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
#$@(if (target-x86-32?)
|
||||
#~((add-before 'configure 'bypass-openal-check
|
||||
;; configure fails linking to openal when using binutils
|
||||
;; >= 2.38 due to openal's usage of protected visibility
|
||||
;; for its dynamic symbols. Bypass this configure time
|
||||
;; check for now. See:
|
||||
;; https://lists.gnu.org/archive/html/guix-devel/2024-08/msg00159.html
|
||||
(lambda _
|
||||
(substitute* "configure"
|
||||
(("alGetError \\|\\|")
|
||||
"alGetError \|\| true \|\|")))))
|
||||
#~())
|
||||
(replace 'configure
|
||||
;; configure does not work followed by "SHELL=..." and
|
||||
;; "CONFIG_SHELL=..."; set environment variables instead
|
||||
|
|
Loading…
Reference in a new issue