summaryrefslogtreecommitdiff
path: root/usr.bin/mkdep
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2017-06-05 14:33:43 +0000
committerMarc Espie <espie@cvs.openbsd.org>2017-06-05 14:33:43 +0000
commit1f61992afd132f609837c3fa466726adf0a354ce (patch)
treecf49903e4a73329696a13b6620651f0c200d960d /usr.bin/mkdep
parente5868f2393ae8d9c978d65241933ca25715217f5 (diff)
explicitly pass -w since clang -M doesn't imply it.
okay millert@
Diffstat (limited to 'usr.bin/mkdep')
-rw-r--r--usr.bin/mkdep/mkdep.gcc.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mkdep/mkdep.gcc.sh b/usr.bin/mkdep/mkdep.gcc.sh
index 5033d620286..dbd2333a3e7 100644
--- a/usr.bin/mkdep/mkdep.gcc.sh
+++ b/usr.bin/mkdep/mkdep.gcc.sh
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: mkdep.gcc.sh,v 1.17 2012/08/30 22:06:43 halex Exp $
+# $OpenBSD: mkdep.gcc.sh,v 1.18 2017/06/05 14:33:42 espie Exp $
# $NetBSD: mkdep.gcc.sh,v 1.9 1994/12/23 07:34:59 jtc Exp $
#
# Copyright (c) 1991, 1993
@@ -89,9 +89,9 @@ TMP=`mktemp /tmp/mkdep.XXXXXXXXXX` || exit 1
trap 'rm -f $TMP ; trap 2 ; kill -2 $$' 1 2 3 13 15
if [ "x$file" = x ]; then
- ${CC:-cc} -M "$@" > $TMP
+ ${CC:-cc} -M -w "$@" > $TMP
else
- ${CC:-cc} -M "$@" && cat -- "$file" > $TMP
+ ${CC:-cc} -M -w "$@" && cat -- "$file" > $TMP
fi
if [ $? != 0 ]; then