diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2021-08-31 15:31:40 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-08-31 15:31:40 +0200 |
commit | faf6963a1dcf462e0d2fff95af0deb9479250403 (patch) | |
tree | 3845c1f1686d7bc6364c65069dd66580d0326f0b /gnu | |
parent | 9055b93513f93293890154790928bb9675770cfe (diff) | |
download | guix-faf6963a1dcf462e0d2fff95af0deb9479250403.tar guix-faf6963a1dcf462e0d2fff95af0deb9479250403.tar.gz |
gnu: android-f2fs-utils: Fix building with gcc-10.
* gnu/packages/android.scm (android-f2fs-utils)[arguments]: Add
'set-compilation-flags' phase.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/android.scm | 3 |
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") |