summaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-08-26 08:58:39 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-08-26 08:58:39 +0000
commit6b4ed722b1d77342fd4faa0c33880ef1d1d2305f (patch)
tree4f8c250e2a5d3ccc1c3f2ada842a152ed26ceb88 /GNUmakefile
parent1ce325b31e1a81e40f2d9819ce65a51c4b251971 (diff)
FreeBSD and NetBSD HAVE got ttydefaults.h. Fixes SF bug 2844744.
Also make clang use -iquote in makefiles.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6e2773ab..a5bc8a65 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,4 +1,4 @@
-# $Id: GNUmakefile,v 1.112 2009-07-31 10:45:22 nicm Exp $
+# $Id: GNUmakefile,v 1.113 2009-08-26 08:58:39 nicm Exp $
.PHONY: clean
@@ -21,7 +21,7 @@ endif
# This sort of sucks but gets rid of the stupid warning and should work on
# most platforms...
-ifeq ($(shell (LC_ALL=C $(CC) -v 2>&1|awk '/gcc version 4/') || true), )
+ifeq ($(shell (LC_ALL=C $(CC) -v 2>&1|awk '/gcc version 4|clang/') || true), )
CPPFLAGS:= -I. -I- $(CPPFLAGS)
else
CPPFLAGS:= -iquote. $(CPPFLAGS)