Skip to content

Commit c05fde2

Browse files
Benoît AllardgeneC
authored andcommitted
memdisk: Force ld output format to 32-bits
On toolchains where the default output is x86_64, we need to be consistent with the other .o files Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
1 parent 1efb5bf commit c05fde2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

memdisk/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ memdisk16.o: memdisk16.asm
7878
$(NASM) -f bin $(NASMOPT) $(NFLAGS) $(NINCLUDE) -o $@ -l $*.lst $<
7979

8080
memdisk_%.o: memdisk_%.bin
81-
$(LD) -r -b binary -o $@ $<
81+
$(LD) --oformat elf32-i386 -r -b binary -o $@ $<
8282

8383
memdisk16.elf: $(OBJS16)
8484
$(LD) -Ttext 0 -o $@ $^

0 commit comments

Comments
 (0)