Mercurial > vanilla
diff core/grub/patch-clang.patch @ 764:fc7a2268d9a6
core/grub: fix build with llvm, but still requires binutils
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 08 Aug 2019 20:55:00 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/grub/patch-clang.patch Thu Aug 08 20:55:00 2019 +0200 @@ -0,0 +1,12 @@ +--- grub-core/boot/i386/pc/startup_raw.S.orig 2019-08-08 07:18:39.284272833 +0000 ++++ grub-core/boot/i386/pc/startup_raw.S 2019-08-08 07:18:56.876273374 +0000 +@@ -118,7 +118,9 @@ + + #include "../../../kern/i386/realmode.S" + ++#define addrsig text + #include <rs_decoder.h> ++#undef addrsig + + .text +