pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap make sure that no default optimizer flags ar...
details: https://anonhg.NetBSD.org/pkgsrc/rev/144ba40811dd
branches: trunk
changeset: 518149:144ba40811dd
user: schwarz <schwarz%pkgsrc.org@localhost>
date: Sat Sep 02 11:14:48 2006 +0000
description:
make sure that no default optimizer flags are set via DBG if CFLAGS is
specified
diffstat:
bootstrap/bootstrap | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 0b5d8915e38d -r 144ba40811dd bootstrap/bootstrap
--- a/bootstrap/bootstrap Sat Sep 02 09:07:03 2006 +0000
+++ b/bootstrap/bootstrap Sat Sep 02 11:14:48 2006 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.81 2006/08/26 15:42:27 schwarz Exp $
+# $NetBSD: bootstrap,v 1.82 2006/09/02 11:14:48 schwarz Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -853,7 +853,7 @@
test -z "$TEST" || echo "TOOLS_PLATFORM.test?= $TEST" >> ${MKCONF_EXAMPLE}
test -z "$TOUCH" || echo "TOOLS_PLATFORM.touch?= $TOUCH" >> ${MKCONF_EXAMPLE}
test -z "$XARGS" || echo "TOOLS_PLATFORM.xargs?= $XARGS" >> ${MKCONF_EXAMPLE}
-test -z "$CFLAGS" || echo "CFLAGS+= $CFLAGS" >> ${MKCONF_EXAMPLE}
+test -z "$CFLAGS" || ( echo "CFLAGS+= $CFLAGS" >> ${MKCONF_EXAMPLE}; echo "DBG=" >> ${MKCONF_EXAMPLE} ) # prevent DBG from adding default optimizer flags
test -z "$CPPFLAGS" || echo "CPPFLAGS+= $CPPFLAGS" >> ${MKCONF_EXAMPLE}
test -z "$LDFLAGS" || echo "LDFLAGS+= $LDFLAGS" >> ${MKCONF_EXAMPLE}
Home |
Main Index |
Thread Index |
Old Index