all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 2/3] gnu: vlc: Add configure flags.
@ 2016-09-10  3:07 Alex Vong
  2016-09-20 20:08 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Vong @ 2016-09-10  3:07 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0002-gnu-vlc-Add-configure-flags.patch --]
[-- Type: text/x-diff, Size: 1212 bytes --]

From 066bee5d7795c6caf2376be4a38e2cf0b397ef98 Mon Sep 17 00:00:00 2001
From: Alex Vong <alexvong1995@gmail.com>
Date: Sat, 10 Sep 2016 00:32:03 +0800
Subject: [PATCH 2/3] gnu: vlc: Add configure flags.

* gnu/packages/video.scm (vlc)[arguments]: Add configure flags to enable
  most fast-math optimizations.
---
 gnu/packages/video.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 858e007..a041666 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -650,7 +650,10 @@ audio/video codec library.")
        `(;; 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.
+         ;; FIXME: This bug is fixed upstream. For now, we enable:
          "ac_cv_c_fast_math=no"
+         "CFLAGS=-ffast-math -fno-finite-math-only"
+         "CXXFLAGS=-ffast-math -fno-finite-math-only"
 
          ,(string-append "LDFLAGS=-Wl,-rpath -Wl,"
                          (assoc-ref %build-inputs "ffmpeg")
-- 
2.10.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-24  5:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-10  3:07 [PATCH 2/3] gnu: vlc: Add configure flags Alex Vong
2016-09-20 20:08 ` Leo Famulari
2016-09-24  4:18   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.