summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/android.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index a747b0c9b5..e7074715a0 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")