Source: kexec-tools
Version: 1:2.0.24-1
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

kexec-tools fails to cross build from source when building on non-x86 to
some x86, because it the builds kexec_tests, which happens to hard code
the build architecture strip. Please consider applying the attached
patch to use the correctly detected strip.

Helmut
--- kexec-tools-2.0.24.orig/kexec_test/Makefile
+++ kexec-tools-2.0.24/kexec_test/Makefile
@@ -36,6 +36,6 @@
 $(KEXEC_TEST): $(KEXEC_TEST_OBJS)
 	mkdir -p $(@D)
 	$(TARGET_LD) $(LDFLAGS) -o $@ $^
-	strip $@
+	$(STRIP) $@
 
 endif

Reply via email to