summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2000-09-21 14:59:40 +0000
committermickey <mickey@openbsd.org>2000-09-21 14:59:40 +0000
commit98175210b008b80ddbdca6236fabc91b10f884e6 (patch)
treed686cc813468109a4764e1e6f01924e6732188ad
parentadd a firmware bug in raid0 or raid10 initialization; from http://people.freebsd.org/~msmith/RAID/ (diff)
downloadwireguard-openbsd-98175210b008b80ddbdca6236fabc91b10f884e6.tar.xz
wireguard-openbsd-98175210b008b80ddbdca6236fabc91b10f884e6.zip
do not hardcode -g -O2 etc. into CFLAGS; pointed out by brad@
-rw-r--r--usr.sbin/apm/Makefile4
-rw-r--r--usr.sbin/apmd/Makefile3
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/apm/Makefile b/usr.sbin/apm/Makefile
index b2fc0201dd8..b23fec39cd5 100644
--- a/usr.sbin/apm/Makefile
+++ b/usr.sbin/apm/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2000/05/18 16:46:36 espie Exp $
+# $OpenBSD: Makefile,v 1.6 2000/09/21 14:59:40 mickey Exp $
.if ${MACHINE} == "i386"
@@ -6,7 +6,7 @@ SRCS= apm.c apmsubr.c
.PATH: ${.CURDIR}/../apmd
-CFLAGS+= -g -O2 -Wmissing-prototypes -Wall -I${.CURDIR}/../apmd
+CFLAGS+= -I${.CURDIR}/../apmd
PROG= apm
LINKS= ${BINDIR}/apm ${BINDIR}/zzz
.else
diff --git a/usr.sbin/apmd/Makefile b/usr.sbin/apmd/Makefile
index 67ddfbdb1de..31411a8bcaf 100644
--- a/usr.sbin/apmd/Makefile
+++ b/usr.sbin/apmd/Makefile
@@ -1,9 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2000/05/18 16:46:37 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2000/09/21 14:59:40 mickey Exp $
.if ${MACHINE} == "i386"
SRCS= apmd.c apmsubr.c
-CFLAGS+= -g -O2 -Wmissing-prototypes -Wall
PROG= apmd
.else
NOPROG=yes