From 7fc766307468a31aff6686fc41c13b58f5cc77f1 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Tue, 13 Dec 2005 15:53:14 +0000 Subject: [PATCH] right...so *first* test before submitting :S svn path=/nixpkgs/trunk/; revision=4366 --- pkgs/os-specific/linux/procps/procps-build.patch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/procps/procps-build.patch b/pkgs/os-specific/linux/procps/procps-build.patch index fa08464c2062..67141715bb6c 100644 --- a/pkgs/os-specific/linux/procps/procps-build.patch +++ b/pkgs/os-specific/linux/procps/procps-build.patch @@ -1,12 +1,12 @@ diff -ruN procps-3.2.6/Makefile procps-3.2.6.new/Makefile --- procps-3.2.6/Makefile 2005-10-30 07:27:04.000000000 +0100 -+++ procps-3.2.6.new/Makefile 2005-12-13 16:47:00.000000000 +0100 ++++ procps-3.2.6.new/Makefile 2005-12-13 16:52:02.000000000 +0100 @@ -43,7 +43,7 @@ usr/lib := $(DESTDIR)/usr/$(lib64)/ usr/include := $(DESTDIR)/usr/include/ -#SKIP := $(bin)kill $(man1)kill.1 -+SKIP := $(bin)kill $(man1)kill.1 ++SKIP := $(bin)kill $(man1)kill.1 $(usr/bin)uptime $(man1)uptime.1 BINFILES := $(usr/bin)uptime $(usr/bin)tload $(usr/bin)free $(usr/bin)w \ $(usr/bin)top $(usr/bin)vmstat $(usr/bin)watch $(usr/bin)skill \ @@ -35,11 +35,12 @@ diff -ruN procps-3.2.6/Makefile procps-3.2.6.new/Makefile -ALL_CFLAGS += $(call check_gcc,-fweb,) -ALL_CFLAGS += $(call check_gcc,-frename-registers,) -ALL_CFLAGS += $(call check_gcc,-fomit-frame-pointer,) +-endif +#ifeq (,$(findstring -g,$(filter -g%,$(CFLAGS)))) +#ALL_CFLAGS += $(call check_gcc,-fweb,) +#ALL_CFLAGS += $(call check_gcc,-frename-registers,) +#ALL_CFLAGS += $(call check_gcc,-fomit-frame-pointer,) - endif ++#endif # in case -O3 is enabled, avoid bloat -ALL_CFLAGS += $(call check_gcc,-fno-inline-functions,)