Source-Changes-HG archive

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

[src/trunk]: src/tools/host-mkdep Preserve -std=* options as they may change ...



details:   https://anonhg.NetBSD.org/src/rev/c5e5253f09dd
branches:  trunk
changeset: 789681:c5e5253f09dd
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Sep 02 08:37:11 2013 +0000

description:
Preserve -std=* options as they may change the dependency list.

diffstat:

 tools/host-mkdep/host-mkdep.in |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 5be366af9114 -r c5e5253f09dd tools/host-mkdep/host-mkdep.in
--- a/tools/host-mkdep/host-mkdep.in    Mon Sep 02 07:59:32 2013 +0000
+++ b/tools/host-mkdep/host-mkdep.in    Mon Sep 02 08:37:11 2013 +0000
@@ -1,6 +1,6 @@
 #!@BSHELL@ -
 #
-#      $NetBSD: host-mkdep.in,v 1.29 2013/03/27 01:03:39 uwe Exp $
+#      $NetBSD: host-mkdep.in,v 1.30 2013/09/02 08:37:11 joerg Exp $
 #
 # Copyright (c) 1991, 1993
 #      The Regents of the University of California.  All rights reserved.
@@ -162,6 +162,11 @@
                                shift 2
                                cppargs=${cppargs%xx}
                                ;;
+               -std=*)
+                               set -- "$@" "$1"
+                               shift
+                               cppargs=${cppargs%x}
+                               ;;
 
                -no-cpp-precomp)        # This is a Darwin-specific option.
                                set -- "$@" "$1"



Home | Main Index | Thread Index | Old Index