OBS User unknown 2009-05-28 01:50:19 +00:00 committed by Git OBS Bridge
parent 3fb275e5df
commit 64db2193f2
3 changed files with 35 additions and 1 deletions

View File

@ -1,3 +1,30 @@
--- Makefile
+++ Makefile 2009-05-27 12:05:43.117901008 +0200
@@ -27,6 +27,7 @@ endif
#
# egcs used with -O2 includes -fno-force-mem which is/was buggy (1998/10/08)
#
+ LDFLAGS = -Wl,--as-needed,--hash-size=8599,-O2
CFLAGS = $(RPM_OPT_FLAGS) $(COPTS) $(DEBUG) $(INC) -D_GNU_SOURCE -Wall -pipe
CLOOP = -funroll-loops
CC = gcc
@@ -80,13 +81,13 @@ sig.def:
done
killproc: killproc.c libinit.o
- $(CC) $(CFLAGS) $(CLOOP) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) $(CLOOP) $(LDFLAGS) -o $@ $^ $(LIBS)
startproc: startproc.c libinit.o
- $(CC) $(CFLAGS) $(CLOOP) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) $(CLOOP) $(LDFLAGS) -o $@ $^ $(LIBS)
checkproc: checkproc.c libinit.o
- $(CC) $(CFLAGS) $(CLOOP) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) $(CLOOP) $(LDFLAGS) -o $@ $^ $(LIBS)
usleep: usleep.c
$(CC) $(CFLAGS) -o $@ $^
--- mkill.c
+++ mkill.c 2009-04-29 12:55:49.480409712 +0200
@@ -100,6 +100,7 @@ int main(int argc, char* argv[])

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 27 13:26:50 CEST 2009 - werner@suse.de
- Increase hash size for runtime linker of often used tools
-------------------------------------------------------------------
Mon May 11 10:27:43 CEST 2009 - werner@suse.de

View File

@ -30,7 +30,7 @@ Group: System/Base
PreReq: coreutils
AutoReqProv: on
Version: 2.86
Release: 209
Release: 210
Summary: SysV-Style init
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libselinux-devel libsepol-devel
@ -327,6 +327,8 @@ rm -rf ${RPM_BUILD_ROOT}
%doc %{_mandir}/man8/mkill.8.gz
%changelog
* Wed May 27 2009 werner@suse.de
- Increase hash size for runtime linker of often used tools
* Mon May 11 2009 werner@suse.de
- Make it build
* Thu May 07 2009 werner@suse.de