diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2021-08-29 10:20:18 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-08-29 10:20:18 +0200 |
commit | 5b0d7819e7827ecd22a25c30bf6a48ba0a535b2e (patch) | |
tree | fb0deaa33f88b7741e3021f8f310d15e23eb6717 /gnu | |
parent | 38074b2c64fe39ed3d2d51b1977e9a036906b8be (diff) |
gnu: libsepol: Don't build with '-Werror'.
* gnu/packages/selinux.scm (libsepol)[arguments]: Add '-Wno-error' option to
CFLAGS.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/selinux.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/selinux.scm b/gnu/packages/selinux.scm index 8a75538d10..ecc18865cb 100644 --- a/gnu/packages/selinux.scm +++ b/gnu/packages/selinux.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -69,6 +70,7 @@ (string-append "MAN3DIR=" out "/share/man/man3") (string-append "MAN5DIR=" out "/share/man/man5") (string-append "MAN8DIR=" out "/share/man/man8") + (string-append "CFLAGS=-Wno-error") (string-append "LDFLAGS=-Wl,-rpath=" out "/lib") (string-append "CC=" ,(cc-for-target)))) #:phases |