From f9585b1a8cd924348ad18b390eb7de0994d744b2 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 1 May 2000 22:24:52 +0000 Subject: fixes to get the prototypes right --- Makefile | 3 +-- initscripts.spec | 2 +- src/Makefile | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 588b2ad9..c46717f5 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,7 @@ VERSION=$(shell awk '/Version:/ { print $$2 }' initscripts.spec) CVSTAG = r$(subst .,-,$(VERSION)) all: - (cd src; make CFLAGS="$(CFLAGS)") - + (cd src; make) install: mkdir -p $(ROOT)/etc/profile.d $(ROOT)/sbin $(ROOT)/usr/sbin mkdir -p $(ROOT)/usr/man/man8 diff --git a/initscripts.spec b/initscripts.spec index 6d6a2aa3..cddb1cba 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -28,7 +28,7 @@ deactivate most network interfaces. %setup -q %build -make CFLAGS="$RPM_OPT_FLAGS" +make %install rm -rf $RPM_BUILD_ROOT diff --git a/src/Makefile b/src/Makefile index f274897a..987609ea 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,4 @@ -CFLAGS+=-Wall -D_GNU_SOURCE -g +CFLAGS+=$(RPM_OPT_FLAGS) -Wall -D_GNU_SOURCE PROGS=usernetctl doexec netreport testd usleep ipcalc initlog minilogd \ getkey ppp-watch consoletype -- cgit