2020-11-03 12:07:52 +00:00
|
|
|
diff --git crash-7.2.8/Makefile crash-7.2.8/Makefile
|
|
|
|
index 745541012f43..d0574d8f07d3 100644
|
|
|
|
--- crash-7.2.8/Makefile
|
|
|
|
+++ crash-7.2.8/Makefile
|
2019-05-07 13:44:18 +00:00
|
|
|
@@ -228,7 +228,7 @@ all: make_configure
|
|
|
|
gdb_merge: force
|
|
|
|
@if [ ! -f ${GDB}/README ]; then \
|
|
|
|
make --no-print-directory gdb_unzip; fi
|
|
|
|
- @echo "${LDFLAGS} -lz -ldl -rdynamic" > ${GDB}/gdb/mergelibs
|
|
|
|
+ @echo "${LDFLAGS} -lz -llzo2 -lsnappy -ldl -rdynamic" > ${GDB}/gdb/mergelibs
|
|
|
|
@echo "../../${PROGRAM} ../../${PROGRAM}lib.a" > ${GDB}/gdb/mergeobj
|
|
|
|
@rm -f ${PROGRAM}
|
|
|
|
@if [ ! -f ${GDB}/config.status ]; then \
|
2020-11-03 12:07:52 +00:00
|
|
|
diff --git crash-7.2.8/diskdump.c crash-7.2.8/diskdump.c
|
|
|
|
index e88243e616cc..9ccf7039231b 100644
|
|
|
|
--- crash-7.2.8/diskdump.c
|
|
|
|
+++ crash-7.2.8/diskdump.c
|
|
|
|
@@ -23,6 +23,8 @@
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#define LZO
|
|
|
|
+#define SNAPPY
|
|
|
|
#include "defs.h"
|
|
|
|
#include "diskdump.h"
|
|
|
|
#include "xen_dom0.h"
|