diff options
author | Andreas Enge <andreas@enge.fr> | 2025-07-19 11:36:01 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-19 11:44:24 +0200 |
commit | adcaab5c0fbe7fb54ccfb683b63e5403c5d51c1b (patch) | |
tree | 156340ea1f5f8ea1f0738e615cefd6f0b7b84272 | |
parent | 43d3a991b8ae864d478c9c6384623439d05c06c9 (diff) |
gnu: mcrypt: Fix build with gcc@14.
* gnu/packages/mcrypt.scm (mcrypt)[arguments]<#:phases>:
Add phase to set CFLAGS.
Change-Id: Iccc88356eb41e0ac36c5c2122376a7aa74255e2c
-rw-r--r-- | gnu/packages/mcrypt.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/mcrypt.scm b/gnu/packages/mcrypt.scm index 5eacae354c..0355c5c76b 100644 --- a/gnu/packages/mcrypt.scm +++ b/gnu/packages/mcrypt.scm @@ -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 |