Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools add -O2 to HOST_CFLAGS on Darwin since adding "-no-cpp...



details:   https://anonhg.NetBSD.org/src/rev/dea1ced1318d
branches:  trunk
changeset: 553142:dea1ced1318d
user:      dbj <dbj%NetBSD.org@localhost>
date:      Fri Oct 10 21:49:59 2003 +0000

description:
add -O2 to HOST_CFLAGS on Darwin since adding "-no-cpp-precomp" there blows
it away otherwise

diffstat:

 tools/Makefile.gnuhost |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0f421bc8e1bf -r dea1ced1318d tools/Makefile.gnuhost
--- a/tools/Makefile.gnuhost    Fri Oct 10 21:26:38 2003 +0000
+++ b/tools/Makefile.gnuhost    Fri Oct 10 21:49:59 2003 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index