summaryrefslogtreecommitdiff
path: root/tools/Makefile.gnuhost
diff options
context:
space:
mode:
authordbj <dbj@NetBSD.org>2003-10-10 21:49:59 +0000
committerdbj <dbj@NetBSD.org>2003-10-10 21:49:59 +0000
commit3c72899f342802c70f88fcce2a613f38f75b4afd (patch)
tree4880a62d6728c091841a0ed1c01d2b78e6fb9b39 /tools/Makefile.gnuhost
parentf3e4bcccdcc71b676f3dcb5e9b8fef88a9cf728b (diff)
add -O2 to HOST_CFLAGS on Darwin since adding "-no-cpp-precomp" there blows
it away otherwise
Diffstat (limited to 'tools/Makefile.gnuhost')
-rw-r--r--tools/Makefile.gnuhost4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.gnuhost b/tools/Makefile.gnuhost
index 51ec5465b13..ae7e79377ac 100644
--- a/tools/Makefile.gnuhost
+++ b/tools/Makefile.gnuhost
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.gnuhost,v 1.20 2003/10/07 14:12:36 dbj Exp $
+# $NetBSD: Makefile.gnuhost,v 1.21 2003/10/10 21:49:59 dbj Exp $
#
# Rules used when building a GNU host package. Expects MODULE to be set.
#
@@ -20,7 +20,7 @@
# Disable use of pre-compiled headers on Darwin.
BUILD_OSTYPE!= uname -s
.if ${BUILD_OSTYPE} == "Darwin"
-HOST_CFLAGS+= -no-cpp-precomp
+HOST_CFLAGS+=-O2 -no-cpp-precomp
.endif
GNUHOSTDIST?= ${.CURDIR}/../../gnu/dist/${MODULE}