gnu: android-f2fs-utils: Fix building with gcc-10.
* gnu/packages/android.scm (android-f2fs-utils)[arguments]: Add 'set-compilation-flags' phase.
This commit is contained in:
parent
9055b93513
commit
faf6963a1d
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||
|
|
Reference in a new issue