summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-04-21 22:47:59 -0400
committerMark H Weaver <mhw@netris.org>2015-04-22 15:08:45 -0400
commitf0d6d83552c08fb35f6aaf8b46876be55e73a37c (patch)
treeda0fe8d10dc9cbfa8da8ebb8b3330ab519b8a11b
parent446c7e4de339f8b6ad950afa58f000220d80a5f4 (diff)
downloadguix-f0d6d83552c08fb35f6aaf8b46876be55e73a37c.tar.gz
gnu: mplayer: Fix configure flags on armhf.
* gnu/packages/video.scm (mplayer)[arguments]: Add default case in 'match'
  form in configure flags.  Enable support for arm processor features that are
  assumed by our armhf port.
-rw-r--r--gnu/packages/video.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 822d9021cb..8868713ba1 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -570,13 +570,13 @@ treaming protocols.")
                            '("--enable-runtime-cpudetection"
                              "--target=i686-linux"))
                           ("mips64el-linux"
-                           '("--target=mips3-linux")))
-                      "--disable-armv5te"
-                      "--disable-armv6"
-                      "--disable-armv6t2"
-                      "--disable-armvfp"
+                           '("--target=mips3-linux"))
+                          (_ (list (string-append
+                                    "--target="
+                                    (or (%current-target-system)
+                                        (nix-system->gnu-triplet
+                                         (%current-system)))))))
                       "--disable-neon"
-                      "--disable-thumb"
                       "--disable-iwmmxt"))))
           %standard-phases)))
     (home-page "http://www.mplayerhq.hu/design7/news.html")