+2010-11-24 Colin Watson <cjwatson@ubuntu.com>
+
+ * grub-core/Makefile.core.def (xz_decompress): Move -lgcc from
+ ldflags to ldadd, to fix link line ordering.
+ (none_decompress): Likewise.
+
2010-11-24 Colin Watson <cjwatson@ubuntu.com>
* grub-core/Makefile.core.def (kernel): Add kern/emu/cache.S for emu
mips_cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000';
objcopyflags = '-O binary';
- ldflags = '-lgcc -static-libgcc -Wl,-Ttext,0x80100000';
+ ldflags = '-static-libgcc -Wl,-Ttext,0x80100000';
+ ldadd = '-lgcc';
cflags = '-static-libgcc';
enable = mips;
};
mips_cppflags = '-DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000';
objcopyflags = '-O binary';
- ldflags = '-lgcc -static-libgcc -Wl,-Ttext,0x80100000';
+ ldflags = '-static-libgcc -Wl,-Ttext,0x80100000';
+ ldadd = '-lgcc';
cflags = '-static-libgcc';
enable = mips;
};