3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: libsepol: Don't build with '-Werror'.

* gnu/packages/selinux.scm (libsepol)[arguments]: Add '-Wno-error' option to
  CFLAGS.
This commit is contained in:
Guillaume Le Vaillant 2021-08-29 10:20:18 +02:00
parent 38074b2c64
commit 5b0d7819e7
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -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