From bb99cf1d5ff9921c995f57c746835f01a96442c3 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 5 Jun 2017 14:33:42 +0000 Subject: [PATCH] explicitly pass -w since clang -M doesn't imply it. okay millert@ --- usr.bin/mkdep/mkdep.gcc.sh | 6 +++--- 1 file 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 -- 2.20.1