From 695a2e024d7ab8758840dd49440f49f26c1f5c2e Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Mon, 14 Jul 2025 15:39:46 +0200 Subject: gnu: fastboot: Fix build. * gnu/packages/android.scm (fastboot)[arguments]<#:phases>: Add 'relax-gcc-14-strictness to set CXXFLAGS. Change-Id: Ie74aad16d308e6c2a5914597e779259c8a2cd6f9 --- gnu/packages/android.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index 7cb7814965f..20ed472292c 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -698,6 +698,13 @@ file system.") (("libext4_utils_host") "libext4_utils_host libselinux libpcre") (("\\$\\(shell git .*\\)") ,version)) #t)) + (add-after 'patch-source 'relax-gcc-14-strictness + (lambda _ + (setenv + "CXXFLAGS" + (string-append "-g -O2" + " -Wno-error=calloc-transposed-args" + " -Wno-error=format-truncation")))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) -- cgit v1.3