From 6b4ed722b1d77342fd4faa0c33880ef1d1d2305f Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 26 Aug 2009 08:58:39 +0000 Subject: FreeBSD and NetBSD HAVE got ttydefaults.h. Fixes SF bug 2844744. Also make clang use -iquote in makefiles. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 47dc3b8a..568a82f4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.147 2009-07-31 10:45:22 nicm Exp $ +# $Id: Makefile,v 1.148 2009-08-26 08:58:39 nicm Exp $ .SUFFIXES: .c .o .PHONY: clean @@ -22,7 +22,7 @@ CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align # This sort of sucks but gets rid of the stupid warning and should work on # most platforms... -CCV!= (LC_ALL=C ${CC} -v 2>&1|awk '/gcc version 4/') || true +CCV!= (LC_ALL=C ${CC} -v 2>&1|awk '/gcc version 4|clang/') || true .if empty(CCV) CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS} .else -- cgit v1.2.3