From 310ae03327a815e721166b64aa3af27b1cc8c2ff Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 6 Jan 2017 16:32:31 -0500 Subject: all: fix or silence all INSTALL warnings on macOS Should be a clean build now. Change-Id: Id3460371cb5e8d4071f8faa9c2aec870d213a067 Reviewed-on: https://plan9port-review.googlesource.com/2781 Reviewed-by: Russ Cox --- bin/9c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/9c') diff --git a/bin/9c b/bin/9c index 64d5c3a2..3ffb716c 100755 --- a/bin/9c +++ b/bin/9c @@ -41,8 +41,10 @@ quiet() ignore=$ignore'| from' ignore=$ignore'|use of C99 long long' ignore=$ignore'|ISO C forbids conversion' + ignore=$ignore'|marked deprecated' ignore=$ignore'|is deprecated' ignore=$ignore'|warn_unused_result' + ignore=$ignore'|expanded from macro' grep -v '__p9l_autolib_' $1 | egrep -v "$ignore" | @@ -80,12 +82,10 @@ case "$tag" in *FreeBSD*gcc*) usegcc ;; *FreeBSD*clang*) useclang ;; *DragonFly*|*BSD*) usegcc ;; -*Darwin-x86_64*clang*) +*Darwin-x86_64*) useclang cflags="$ngflags -g3 -m64" ;; -*Darwin-x86_64*) usegcc - cflags="$ngflags -g3 -no-cpp-precomp -m64" ;; *Darwin*clang*) useclang cflags="$ngflags -g3 -m32" -- cgit v1.2.3