2008-07-02 Pavel Roskin <proski@gnu.org>
* Makefile.in (MODULE_LDFLAGS): New variable. * aclocal.m4 (grub_PROG_LD_BUILD_ID_NONE): New macro. Check if the linker accepts --build-id=none. * configure.ac: Call grub_PROG_LD_BUILD_ID_NONE. Substitute MODULE_LDFLAGS. * genmk.rb: Use MODULE_LDFLAGS when linking modules.
This commit is contained in:
parent
d4c9b428e1
commit
cb71ba20e9
13 changed files with 245 additions and 151 deletions
|
@ -68,6 +68,7 @@ TARGET_CFLAGS = @TARGET_CFLAGS@
|
|||
TARGET_CPPFLAGS = @TARGET_CPPFLAGS@ -I. -Iinclude -I$(srcdir)/include \
|
||||
-Wall -W
|
||||
TARGET_LDFLAGS = @TARGET_LDFLAGS@
|
||||
MODULE_LDFLAGS = @MODULE_LDFLAGS@
|
||||
OBJCOPY = @OBJCOPY@
|
||||
STRIP = @STRIP@
|
||||
NM = @NM@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue