gnu: mame: Fix build on i686.
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 21 Nov 2019 15:37:40 +0000 (16:37 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 21 Nov 2019 15:37:40 +0000 (16:37 +0100)
* gnu/packages/emulators.scm (mame): Prevent strict-overflow error on i686
with "NOWERROR" flag.

gnu/packages/emulators.scm

index 72a9b6e..577894c 100644 (file)
@@ -1213,6 +1213,8 @@ play them on systems for which they were never designed!")
     (arguments
      `(#:make-flags
        (cons*
+        ;; A 'strict-overflow' error pops up on i686 so disable '-Werror'.
+        "NOWERROR=1"
         (string-append "QT_HOME=" (assoc-ref %build-inputs "qtbase"))
         (string-append "SDL_INI_PATH="
                        (assoc-ref %outputs "out")