From: Waldemar Kozaczuk <[email protected]>
Committer: Waldemar Kozaczuk <[email protected]>
Branch: master

makefile: remove redundant linker script for vmlinuz.bin which causes gcc 9.2 linker error

Signed-off-by: Waldemar Kozaczuk <[email protected]>

---
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -447,7 +447,7 @@ $(out)/arch/x64/vmlinuz-boot32.o: $(out)/loader-stripped.elf $(out)/arch/x64/vmlinuz-boot32.o: ASFLAGS += -I$(out) -DOSV_KERNEL_SIZE=$(kernel_size)

$(out)/vmlinuz-boot.bin: $(out)/arch/x64/vmlinuz-boot32.o arch/x64/vmlinuz-boot.ld - $(call quiet, $(LD) -nostartfiles -static -nodefaultlibs -T arch/x64/vmlinuz-boot.ld -o $@ \
+       $(call quiet, $(LD) -nostartfiles -static -nodefaultlibs -o $@ \
                        $(filter-out %.bin, $(^:%.ld=-T %.ld)), LD $@)

 $(out)/vmlinuz.bin: $(out)/vmlinuz-boot.bin $(out)/loader-stripped.elf

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/0000000000001bbee00598586910%40google.com.

Reply via email to