mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: mcrypt: Fix build with gcc@14.
* gnu/packages/mcrypt.scm (mcrypt)[arguments]<#:phases>: Add phase to set CFLAGS. Change-Id: Iccc88356eb41e0ac36c5c2122376a7aa74255e2c
This commit is contained in:
@@ -47,6 +47,18 @@
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
(list zlib libmcrypt libmhash))
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'configure 'set-CFLAGS
|
||||
(lambda _
|
||||
(setenv "CFLAGS"
|
||||
(string-append
|
||||
"-g -O2 "
|
||||
"-Wno-error=pointer-sign "
|
||||
"-Wno-error=implicit-function-declaration "
|
||||
"-Wno-error=address")))))))
|
||||
(home-page "https://mcrypt.sourceforge.net/")
|
||||
(synopsis "Replacement for the popular Unix crypt command")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user