[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: android-f2fs-utils: Fix building with gcc-10.
From: |
guix-commits |
Subject: |
04/04: gnu: android-f2fs-utils: Fix building with gcc-10. |
Date: |
Tue, 31 Aug 2021 09:35:35 -0400 (EDT) |
glv pushed a commit to branch core-updates-frozen
in repository guix.
commit faf6963a1dcf462e0d2fff95af0deb9479250403
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Tue Aug 31 15:31:40 2021 +0200
gnu: android-f2fs-utils: Fix building with gcc-10.
* gnu/packages/android.scm (android-f2fs-utils)[arguments]: Add
'set-compilation-flags' phase.
---
gnu/packages/android.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index a747b0c..e707471 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -581,6 +581,9 @@ Android core.")
(modify-phases %standard-phases
(add-after 'unpack 'enter-source
(lambda _ (chdir "f2fs_utils") #t))
+ (add-before 'build 'set-compilation-flags
+ (lambda _
+ (setenv "CFLAGS" "-fcommon")))
(add-after 'install 'install-headers
(lambda* (#:key inputs outputs #:allow-other-keys)
(copy-recursively "." (string-append (assoc-ref outputs "out")