File: static_binary_warning.patch

package info (click to toggle)
kexec-tools 1%3A2.0.25-3%2Bdeb12u3
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 2,836 kB
  • sloc: ansic: 28,489; sh: 3,612; asm: 2,625; cpp: 1,752; makefile: 932
file content (20 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: kexec-tools-2.0.3/kexec_test/Makefile
===================================================================
--- kexec-tools-2.0.3.orig/kexec_test/Makefile	2012-01-24 14:10:44.383816036 -0700
+++ kexec-tools-2.0.3/kexec_test/Makefile	2012-01-31 08:44:23.235020166 -0700
@@ -20,7 +20,7 @@
 KEXEC_TEST_OBJS = $(call objify, $(KEXEC_TEST_SRCS))
 KEXEC_TEST_DEPS = $(call depify, $(KEXEC_TEST_OBJS))
 
-KEXEC_TEST = $(PKGLIBDIR)/kexec_test
+KEXEC_TEST = $(PKGLIBDIR)/kexec_test.static
 
 clean += $(KEXEC_TEST_OBJS) $(KEXEC_TEST_DEPS) $(KEXEC_TEST)
 
@@ -36,5 +36,6 @@
 $(KEXEC_TEST): $(KEXEC_TEST_OBJS)
 	mkdir -p $(@D)
 	$(TARGET_LD) $(LDFLAGS) -o $@ $^
+	strip $@
 
 endif