diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-08-03 12:10:00 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-08-03 12:10:00 +0200 |
commit | d76f44e84c2add2d35375c4e0c18efe69a760562 (patch) | |
tree | 5e9b07e582dd4eab8703e27fe05654c5acdcdf81 | |
parent | 8aceca50cdeee730e11c77967ea073af5d167363 (diff) | |
download | guix-d76f44e84c2add2d35375c4e0c18efe69a760562.tar guix-d76f44e84c2add2d35375c4e0c18efe69a760562.tar.gz |
gnu: mdadm: Build without '-Werror'
* gnu/packages/linux.scm (mdadm)[arguments]: Add 'remove-W-error'
phase.
-rw-r--r-- | gnu/packages/linux.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index e65327c61d..f6352da486 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2363,7 +2363,15 @@ MPEG-2 and audio over Linux IEEE 1394.") (substitute* "udev-md-raid-arrays.rules" (("/usr/bin/(readlink|basename)" all program) (string-append coreutils "/bin/" program))))) - (alist-delete 'configure %standard-phases)) + (alist-cons-before + 'build 'remove-W-error + (lambda _ + ;; We cannot build with -Werror on i686 due to a + ;; 'sign-compare' warning in util.c. + (substitute* "Makefile" + (("-Werror") "")) + #t) + (alist-delete 'configure %standard-phases))) ;;tests must be done as root #:tests? #f)) (home-page "http://neil.brown.name/blog/mdadm") |