Manoel Rebelo Abranches wrote: > On Mon, 2008-12-01 at 19:01 +0200, Vesa Jääskeläinen wrote: >> Manoel Rebelo Abranches wrote: >>> This patch add --build-id=none option to newer ld versions when linking >>> kernel.elf. >>> This prevents grub-mkelfimage to behave wrongly. >> >>> if test "x$grub_cv_prog_ld_build_id_none" = xyes; then >>> MODULE_LDFLAGS="$MODULE_LDFLAGS -Wl,--build-id=none" >>> + PPC_BUILD_ID_FLAG="-Wl,--build-id=none" >>> fi >>> ]) >> How about changing that to KERNEL_LDFLAGS? Then one could use it for >> other purposes if needed? > > There is already kernel_elf_LDFLAGS but its used for other architectures > too.
No no. I mean just KERNEL_LDFLAGS like comparison to MODULE_LDFLAGS. No elf or nothing like that. Is there any problem if one provides this setting even on x86 if linker recognizes it? (what is being tested here). PPC_BUILD_ID_FLAG just sounds too specific. Isn't EFI also using ELF? I assume this would be beneficial also there. _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel