Skip to contentSkip to conversation

kexec-tools-klibc: rebase x86-64 patch to remove -mcmodel=large

PATCH New Andrea Adami 1 participant 1 message Sep 4, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec-tools-klibc: rebase x86-64 patch to remove -mcmodel=large

Patch did not apply after upgrade to latest master.

---
 .../x86-64-purgatory-Makefile-remove-unknown-flags.patch     | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64-purgatory-Makefile-remove-unknown-flags.patch +7 -5
index f1db757..0ec880c 100644
@@ -19,15 +19,17 @@ Signed-off-by: Andrea Adami <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/purgatory/arch/x86_64/Makefile b/purgatory/arch/x86_64/Makefile
-index 7300937..38f0bf3 100644
+index 7300937..73f6932 100644
 --- a/purgatory/arch/x86_64/Makefile
 +++ b/purgatory/arch/x86_64/Makefile
-@@ -23,4 +23,4 @@ x86_64_PURGATORY_SRCS += purgatory/arch/i386/console-x86.c
- x86_64_PURGATORY_SRCS += purgatory/arch/i386/vga.c
+@@ -24,5 +24,5 @@ x86_64_PURGATORY_SRCS += purgatory/arch/i386/console-x86.c
  x86_64_PURGATORY_SRCS += purgatory/arch/i386/pic.c
  
--x86_64_PURGATORY_EXTRA_CFLAGS = -mcmodel=large
-+#x86_64_PURGATORY_EXTRA_CFLAGS = -mcmodel=large
+ ifeq ($(SUBARCH),64)
+-        x86_64_PURGATORY_EXTRA_CFLAGS = -mcmodel=large
++#        x86_64_PURGATORY_EXTRA_CFLAGS = -mcmodel=large
+ endif
+
 -- 
 2.7.4
 
Signature · 1 line
2.7.4