* conf/Makefile.common (LDFLAGS_PLATFORM): Use explicit -Wl.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-04-18 23:37:25 +02:00
parent 81092a75e5
commit 54e03cfcf0
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2012-04-18 Vladimir Serbinenko <phcoder@gmail.com>
* conf/Makefile.common (LDFLAGS_PLATFORM): Use explicit -Wl.
2012-04-18 Mads Kiilerich <mads@kiilerich.com> 2012-04-18 Mads Kiilerich <mads@kiilerich.com>
* grub-mkconfig_lib.in: Ignore *.rpmnew and *.rpmsave. * grub-mkconfig_lib.in: Ignore *.rpmnew and *.rpmsave.

View file

@ -11,10 +11,10 @@ if COND_i386_pc
CFLAGS_PLATFORM += -mrtd -mregparm=3 CFLAGS_PLATFORM += -mrtd -mregparm=3
endif endif
if COND_i386_efi if COND_i386_efi
LDFLAGS_PLATFORM = -melf_i386 LDFLAGS_PLATFORM = -Wl,-melf_i386
endif endif
if COND_x86_64_efi if COND_x86_64_efi
LDFLAGS_PLATFORM = -melf_x86_64 LDFLAGS_PLATFORM = -Wl,-melf_x86_64
endif endif
if COND_i386_qemu if COND_i386_qemu
CFLAGS_PLATFORM += -mrtd -mregparm=3 CFLAGS_PLATFORM += -mrtd -mregparm=3
@ -35,7 +35,7 @@ if COND_mips
endif endif
if COND_sparc64_ieee1275 if COND_sparc64_ieee1275
CFLAGS_PLATFORM += -mno-app-regs CFLAGS_PLATFORM += -mno-app-regs
LDFLAGS_PLATFORM = -melf64_sparc -mno-relax LDFLAGS_PLATFORM = -Wl,-melf64_sparc -mno-relax
endif endif
# Other options # Other options