gnu: thermald: Compile with -Werror again.

* gnu/packages/admin.scm (thermald)[arguments]: Remove substitution,
and a #t whilst we're here.
This commit is contained in:
Tobias Geerinckx-Rice 2021-06-05 13:39:15 +02:00
parent 9412762f9b
commit ddd871c18a
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3660,13 +3660,7 @@ (define-public thermald
(modify-phases %standard-phases
(add-before 'bootstrap 'no-early-./configure
(lambda _
(setenv "NO_CONFIGURE" "yet")
;; XXX thd_trip_point.h redefines "__STDC_LIMIT_MACROS" after
;; <xz>/include/lzma.h. ./configure forcibly appends -Werror
;; to CXXFLAGS, overriding any -Wno-error we'd add.
(substitute* "configure.ac"
(("-Werror") ""))
#t)))))
(setenv "NO_CONFIGURE" "yet"))))))
(native-inputs
`(("autoconf" ,autoconf)
("autoconf-archive" ,autoconf-archive)