From: Geoff Levand <[EMAIL PROTECTED]>
Pugatory files need to be linked with the target linker,
not the build linker.
Signed-off-by: Geoff Levand <[EMAIL PROTECTED]>
---
diff --git a/purgatory/Makefile b/purgatory/Makefile
index a543cdb..e7d2f15 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)
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec