1
0
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:
Andreas Enge
2025-07-19 11:36:01 +02:00
parent 43d3a991b8
commit adcaab5c0f

View File

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