diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm index 6010de781f..6d5c2b3921 100644 --- a/gnu/packages/wxwidgets.scm +++ b/gnu/packages/wxwidgets.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer -;;; Copyright © 2016, 2018 Ricardo Wurmus +;;; Copyright © 2016, 2018, 2020 Ricardo Wurmus ;;; Copyright © 2016 Theodoros Foradis ;;; Copyright © 2016 Danny Milosavljevic ;;; Copyright © 2017 Rene Saavedra @@ -126,7 +126,14 @@ (define-public wxwidgets-2 (list (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib")) ;; No 'check' target. - #:tests? #f)))) + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'ignore-narrowing-errors + (lambda _ + (substitute* "configure" + (("-Wall") "-Wall -Wno-narrowing")) + #t))))))) (define-public wxwidgets-gtk2 (package (inherit wxwidgets)