guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: libsepol: Don't build with '-Werror'.


From: guix-commits
Subject: 02/03: gnu: libsepol: Don't build with '-Werror'.
Date: Sun, 29 Aug 2021 04:29:16 -0400 (EDT)

glv pushed a commit to branch core-updates-frozen
in repository guix.

commit 5b0d7819e7827ecd22a25c30bf6a48ba0a535b2e
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sun Aug 29 10:20:18 2021 +0200

    gnu: libsepol: Don't build with '-Werror'.
    
    * gnu/packages/selinux.scm (libsepol)[arguments]: Add '-Wno-error' option to
      CFLAGS.
---
 gnu/packages/selinux.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/selinux.scm b/gnu/packages/selinux.scm
index 8a75538..ecc1886 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]