summaryrefslogtreecommitdiff
path: root/gnu/packages/selinux.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-08-29 10:20:18 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-08-29 10:20:18 +0200
commit5b0d7819e7827ecd22a25c30bf6a48ba0a535b2e (patch)
treefb0deaa33f88b7741e3021f8f310d15e23eb6717 /gnu/packages/selinux.scm
parent38074b2c64fe39ed3d2d51b1977e9a036906b8be (diff)
gnu: libsepol: Don't build with '-Werror'.
* gnu/packages/selinux.scm (libsepol)[arguments]: Add '-Wno-error' option to CFLAGS.
Diffstat (limited to 'gnu/packages/selinux.scm')
-rw-r--r--gnu/packages/selinux.scm2
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