File: linker-option.patch

package info (click to toggle)
kexec-tools 1%3A2.0.22-2
  • links: PTS
  • area: main
  • in suites: bookworm, sid
  • size: 2,836 kB
  • sloc: ansic: 28,110; sh: 3,614; asm: 2,625; cpp: 1,752; makefile: 932
file content (11 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
--- a/purgatory/Makefile
+++ b/purgatory/Makefile
@@ -66,7 +66,7 @@ $(PURGATORY): LDFLAGS=$($(ARCH)_PURGATOR
 $(PURGATORY): $(PURGATORY_OBJS)
 	$(MKDIR) -p $(@D)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@.sym $^
-#	$(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 -o $@ $@.sym
 
 echo::