Package: kexec-tools / 1:2.0.7-5

linker-option.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
--- a/purgatory/Makefile
+++ b/purgatory/Makefile
@@ -64,7 +64,7 @@ $(PURGATORY): $(PURGATORY_OBJS)
 	$(MKDIR) -p $(@D)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
 
-#	$(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) --no-undefined -e purgatory_start -r -o $@ $(PURGATORY_OBJS) $(UTIL_LIB)
+#	$(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) -Wl,--no-undefined -e purgatory_start -r -o $@ $(PURGATORY_OBJS) $(UTIL_LIB)
 	$(STRIP) --strip-debug $@
 
 echo::