gnu-efi: fix musl build
gnu-efi> /build/gnu-efi-3.0.17//lib/console.c:84:68: error: passing argument 2 of ‘ConOut->OutputString’ from incompatible pointer type [8;;h ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Werror=incompatible-pointer-types8;;] gnu-efi> 84 | uefi_call_wrapper(ConOut->OutputString, 2, ConOut, L"\b \b"); gnu-efi> | ^~~~~~~~ gnu-efi> | | gnu-efi> | short unsigned int *
This commit is contained in:
parent
f50fc0cfc1
commit
d5fa972641
|
@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
|
||||||
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Make.defaults \
|
||||||
|
--replace "-Werror" ""
|
||||||
|
'';
|
||||||
|
|
||||||
passthru.updateScript = gitUpdater {
|
passthru.updateScript = gitUpdater {
|
||||||
# No nicer place to find latest release.
|
# No nicer place to find latest release.
|
||||||
url = "https://git.code.sf.net/p/gnu-efi/code";
|
url = "https://git.code.sf.net/p/gnu-efi/code";
|
||||||
|
|
Loading…
Reference in a new issue