diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 7f10cc330a..97b2b0fc06 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2624,7 +2624,15 @@ (define-public mplayer (("#! /bin/sh") (string-append "#!" (which "sh")))) (setenv "SHELL" (which "bash")) (setenv "CONFIG_SHELL" (which "bash")) - (apply invoke "./configure" configure-flags)))))) + (apply invoke "./configure" configure-flags) + ;; Adding CFLAGS to #:configure-flags, or setting it in the + ;; enviroment does not work. Adding CFLAGS to #:make-flags + ;; breaks the build. + (substitute* "config.mak" + (("CFLAGS *=" all) + (string-append all + " -Wno-error=incompatible-pointer-types" + " -Wno-error=int-conversion")))))))) ;; FIXME: Add additional inputs once available. (native-inputs (list pkg-config yasm))