gnu: vlc: Drop -ffast-math from the compilation flags.

* gnu/packages/video.scm (vlc)[arguments]: Add "ac_cv_c_fast_math=no" to
  #:configure-flags.
This commit is contained in:
Ludovic Courtès 2016-07-28 13:55:03 +02:00
parent ae32c58e28
commit c6b3dc69bd
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -623,6 +623,12 @@ (define-public vlc
(arguments (arguments
`(#:configure-flags `(#:configure-flags
`("--disable-a52" ; FIXME: reenable once available `("--disable-a52" ; FIXME: reenable once available
;; Gross workaround for <https://trac.videolan.org/vlc/ticket/16907>.
;; In our case, this led to a test failure:
;; test_libvlc_equalizer: libvlc/equalizer.c:122: test_equalizer: Assertion `isnan(libvlc_audio_equalizer_get_amp_at_index (equalizer, u_bands))' failed.
"ac_cv_c_fast_math=no"
,(string-append "LDFLAGS=-Wl,-rpath -Wl," ,(string-append "LDFLAGS=-Wl,-rpath -Wl,"
(assoc-ref %build-inputs "ffmpeg") (assoc-ref %build-inputs "ffmpeg")
"/lib")) ;needed for the tests "/lib")) ;needed for the tests