Module Name:    src
Committed By:   joerg
Date:           Mon Sep  2 08:37:12 UTC 2013

Modified Files:
        src/tools/host-mkdep: host-mkdep.in

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


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/tools/host-mkdep/host-mkdep.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/host-mkdep/host-mkdep.in
diff -u src/tools/host-mkdep/host-mkdep.in:1.29 src/tools/host-mkdep/host-mkdep.in:1.30
--- src/tools/host-mkdep/host-mkdep.in:1.29	Wed Mar 27 01:03:39 2013
+++ src/tools/host-mkdep/host-mkdep.in	Mon Sep  2 08:37:11 2013
@@ -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 @@ else
 				shift 2
 				cppargs=${cppargs%xx}
 				;;
+		-std=*)
+				set -- "$@" "$1"
+				shift
+				cppargs=${cppargs%x}
+				;;
 
 		-no-cpp-precomp)	# This is a Darwin-specific option.
 				set -- "$@" "$1"

Reply via email to