summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-20 20:24:55 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-20 21:09:36 +0100
commit34b16f9201ec27ddfcfe897d4dd19b431f628839 (patch)
tree3dfbc5e4f4dde6a0651f2efd993850301c5ec35b
parent5576831163c2253cfb4ab7e55f8bfc831adf9171 (diff)
gnu: glnemo2: Fix build with gcc@14.
* gnu/packages/astronomy.scm (glnemo2) [arguments] <configure-flags>: Ignore 3 warnings. Change-Id: I03fe28d04e3c9801fc0254706643d5a3c6d235a8
-rw-r--r--gnu/packages/astronomy.scm11
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index b597989662e..d9dabfe3722 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -802,8 +802,8 @@ corrections.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://gitlab.lam.fr/jclamber/glnemo2")
- (commit version)))
+ (url "https://gitlab.lam.fr/jclamber/glnemo2")
+ (commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1jmmxszh8d2jmfghig36nhykff345mqnpssfa64d0r7l9cnfp3cn"))))
@@ -811,7 +811,12 @@ corrections.")
(arguments
(list
#:tests? #f ; No test target
- #:configure-flags #~(list "CPPFLAGS=-fcommon")
+ #:configure-flags
+ #~(list "CPPFLAGS=-fcommon"
+ (string-append "-DCMAKE_C_FLAGS="
+ " -Wno-error=implicit-function-declaration"
+ " -Wno-error=implicit-int"
+ " -Wno-error=int-conversion"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-libraries-paths