kexec-tools/kexec-tools-2.0.3-makedumpfile-dynamic-build.patch

12 lines
713 B
Diff
Raw Normal View History

2012-01-21 08:56:07 +00:00
--- kexec-tools-2.0.3/makedumpfile-1.4.1/Makefile.orig 2009-11-11 08:44:51.000000000 +0800
+++ kexec-tools-2.0.3/makedumpfile-1.4.1/Makefile 2010-05-30 00:25:17.350869858 +0800
2012-01-21 04:20:35 +00:00
@@ -38,7 +38,7 @@ $(OBJ_ARCH): $(SRC_ARCH)
2009-07-06 19:58:59 +00:00
$(CC) $(CFLAGS_ARCH) -c -o ./$@ ./$(@:.o=.c)
2012-01-21 04:20:35 +00:00
makedumpfile: $(SRC) $(OBJ_PART) $(OBJ_ARCH)
- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ_PART) $(OBJ_ARCH) -o $@ $< -static -ldw -lbz2 -lebl -ldl -lelf -lz
2012-01-21 08:41:53 +00:00
+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ_PART) $(OBJ_ARCH) -o $@ $< -ldw -lbz2 -lebl -ldl -lelf -lz
echo .TH MAKEDUMPFILE 8 \"$(DATE)\" \"makedumpfile v$(VERSION)\" \"Linux System Administrator\'s Manual\" > temp.8
grep -v "^.TH MAKEDUMPFILE 8" makedumpfile.8 >> temp.8
mv temp.8 makedumpfile.8