diff options
author | Li Haifeng <omycle@gmail.com> | 2013-03-25 15:53:44 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-03-27 21:31:59 +0900 |
commit | fa101c374d69597bb228d1f1230b2d37ba888db3 (patch) | |
tree | 696622f474a07ca4c8f28c7c2f0889d77799c363 | |
parent | 8f1cfc61ec60d340186451fd2b44b9cfc7b0cbcc (diff) | |
download | kexec-tools-fa101c374d69597bb228d1f1230b2d37ba888db3.tar.gz |
kexec: Fix Makefile of linking kdump file
When make kdump object file, the expression of linking kdump ignores
LDFLAGS. If someone want to build kdump with static links, it won't
product object file with static attributes. So, fix it.
Signed-off-by: Haifeng Li <omycle@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kdump/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdump/Makefile b/kdump/Makefile index 5dfa9287..307d59d4 100644 --- a/kdump/Makefile +++ b/kdump/Makefile @@ -18,7 +18,7 @@ clean += $(KDUMP_OBJS) $(KDUMP_DEPS) $(KDUMP) $(KDUMP_MANPAGE) $(KDUMP): CC=$(TARGET_CC) $(KDUMP): $(KDUMP_OBJS) @$(MKDIR) -p $(@D) - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $(KDUMP_OBJS) + $(LINK.o) -o $@ $^ $(CFLAGS) $(LIBS) $(KDUMP_MANPAGE): kdump/kdump.8 $(MKDIR) -p $(MANDIR)/man8 |