summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-15 21:22:51 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-15 21:22:51 +0000
commit56c7eeba0442710df88eec65f8031f4acd84bde4 (patch)
treefd1f697bc51c72160b7c1b73f17b9c26643437fd
parent65dcba50ed8b44f145ce9444e1af99d9a2c3616f (diff)
build really really small
-rw-r--r--sys/arch/hppa/conf/Makefile.hppa4
-rw-r--r--sys/arch/hppa/stand/Makefile.inc4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/conf/Makefile.hppa b/sys/arch/hppa/conf/Makefile.hppa
index 6347149b75a..eaea10aac83 100644
--- a/sys/arch/hppa/conf/Makefile.hppa
+++ b/sys/arch/hppa/conf/Makefile.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa,v 1.11 2002/02/19 01:53:30 deraadt Exp $
+# $OpenBSD: Makefile.hppa,v 1.12 2002/03/15 21:22:50 mickey Exp $
# Makefile for OpenBSD
#
@@ -43,7 +43,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wno-uninitialized \
-Wno-format -Wno-main
CMACHFLAGS= -mfast-indirect-calls -mportable-runtime -mno-space-regs
-COPTS?= -O2
+COPTS?= -Os
CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -T ${HPPA}/conf/ld.script -Ttext 12000 -Map bsd.map
diff --git a/sys/arch/hppa/stand/Makefile.inc b/sys/arch/hppa/stand/Makefile.inc
index 3754b0cfc18..93652e1ea78 100644
--- a/sys/arch/hppa/stand/Makefile.inc
+++ b/sys/arch/hppa/stand/Makefile.inc
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile.inc,v 1.7 2000/10/03 23:24:52 mickey Exp $
+# $OpenBSD: Makefile.inc,v 1.8 2002/03/15 21:22:50 mickey Exp $
-CFLAGS=${DEBUG} -O2 -g -Wall -Werror
+CFLAGS=${DEBUG} -Os -Wall -Werror
CPPFLAGS+=-I${S} -I. -I${.CURDIR}
SACFLAGS=-nostdinc -fno-builtin -D_STANDALONE -I${SADIR}/libsa
SACFLAGS+=-mdisable-fpregs -mfast-indirect-calls -mpa-risc-1-0