diff options
author | Bill Nottingham <notting@redhat.com> | 2000-05-01 22:24:52 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-05-01 22:24:52 +0000 |
commit | f9585b1a8cd924348ad18b390eb7de0994d744b2 (patch) | |
tree | dd26ee36f6a11e70f0d886f7f241dfea59c5a685 | |
parent | be2dfde2925190f3d7496aad536f6fda876575e5 (diff) | |
download | initscripts-f9585b1a8cd924348ad18b390eb7de0994d744b2.tar initscripts-f9585b1a8cd924348ad18b390eb7de0994d744b2.tar.gz initscripts-f9585b1a8cd924348ad18b390eb7de0994d744b2.tar.bz2 initscripts-f9585b1a8cd924348ad18b390eb7de0994d744b2.tar.xz initscripts-f9585b1a8cd924348ad18b390eb7de0994d744b2.zip |
fixes to get the prototypes right
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | initscripts.spec | 2 | ||||
-rw-r--r-- | src/Makefile | 2 |
3 files changed, 3 insertions, 4 deletions
@@ -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 |