File: static_binary_warning.patch

package info (click to toggle)
kexec-tools 1%3A2.0.31-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 3,088 kB
  • sloc: ansic: 30,128; sh: 3,553; asm: 2,625; cpp: 1,753; makefile: 968
file content (18 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/kexec_test/Makefile
+++ b/kexec_test/Makefile
@@ -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