diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2008-02-14 21:27:19 -0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-02-19 15:23:43 +0900 |
commit | 9de031269fc0a2551bb4a3cb488bd8377cbece88 (patch) | |
tree | c37776c0af9cd81f98ee291fe10e2f6749885a69 /purgatory | |
parent | 28d4817dcd2bfc9eb9c8baf90888d9ba358bd58c (diff) | |
download | kexec-tools-9de031269fc0a2551bb4a3cb488bd8377cbece88.tar.gz |
kexec: Use target linker for purgatory
Pugatory files need to be linked with the target linker,
not the build linker.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
-rw-r--r-- | purgatory/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/purgatory/Makefile b/purgatory/Makefile index a543cdb4..e7d2f15d 100644 --- a/purgatory/Makefile +++ b/purgatory/Makefile @@ -42,7 +42,7 @@ $(PURGATORY): LDFLAGS+=--no-undefined -nostartfiles -nostdlib -nodefaultlibs \ $(PURGATORY): $(PURGATORY_OBJS) $(MKDIR) -p $(@D) - $(LD) $(LDFLAGS) -o $@ $^ + $(CC) $(LDFLAGS) -o $@ $^ # $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) --no-undefined -e purgatory_start -r -o $@ $(PURGATORY_OBJS) $(UTIL_LIB) |