This commit is contained in:
parent
741e23dfca
commit
ab8c3519dd
@ -1,7 +1,11 @@
|
||||
--- Makefile-dist 2007-01-09 12:57:28.000000000 +0100
|
||||
+++ Makefile 2007-01-09 12:57:30.000000000 +0100
|
||||
@@ -4,9 +4,10 @@
|
||||
DATE=22 December 2006
|
||||
---
|
||||
Makefile | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -4,9 +4,10 @@ VERSION=1.1.3
|
||||
DATE=13 April 2007
|
||||
|
||||
CC = gcc
|
||||
-CFLAGS = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
|
||||
@ -13,3 +17,12 @@
|
||||
|
||||
ARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/sun4u/sparc64/ \
|
||||
-e s/arm.*/arm/ -e s/sa110/arm/ \
|
||||
@@ -30,7 +31,7 @@ $(OBJ_ARCH): $(SRC_ARCH)
|
||||
$(CC) $(CFLAGS_ARCH) -c -o ./$@ ./$(@:.o=.c)
|
||||
|
||||
makedumpfile: $(SRC) $(OBJ_ARCH)
|
||||
- $(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -static -ldw -lelf -lz
|
||||
+ $(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -Wl,-Bstatic -ldw -lelf -lz -Wl,-Bdynamic
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) $(OBJ_ARCH) makedumpfile makedumpfile.8.gz
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 5 16:01:34 CEST 2007 - bwalle@suse.de
|
||||
|
||||
- link dynamically against libc to decrease binary size (initrd
|
||||
has already libc included) but leave the other libraries linked
|
||||
statically
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 21 12:25:28 CEST 2007 - tiwai@suse.de
|
||||
|
||||
|
@ -15,7 +15,7 @@ BuildRequires: gcc-c++ libdw-devel zlib-devel
|
||||
%define elfutils_version 0.124
|
||||
License: GNU General Public License (GPL)
|
||||
Version: 1.1.3
|
||||
Release: 9
|
||||
Release: 14
|
||||
Summary: Partial kernel dump
|
||||
Group: System/Kernel
|
||||
URL: https://sourceforge.net/projects/makedumpfile/
|
||||
@ -59,6 +59,10 @@ install -c -m 0644 makedumpfile.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
/bin/*
|
||||
|
||||
%changelog
|
||||
* Tue Jun 05 2007 - bwalle@suse.de
|
||||
- link dynamically against libc to decrease binary size (initrd
|
||||
has already libc included) but leave the other libraries linked
|
||||
statically
|
||||
* Mon May 21 2007 - tiwai@suse.de
|
||||
- use external elfutils packages.
|
||||
* Fri Apr 13 2007 - tiwai@suse.de
|
||||
|
Loading…
x
Reference in New Issue
Block a user