summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-06-26 16:01:12 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-06-26 16:01:12 +0000
commit826add53f19fabb474babc317b4f8f9a322dcb95 (patch)
tree922e8a25928ba49b560b6f48a502becaab693405 /Makefile
parent1aaf47e698d2e3a96685bc689af42fa7bfb1965c (diff)
Set LC_ALL=C to stop i18n breaking gcc test.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3013e20f..d88784e5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.140 2009-06-25 16:25:55 nicm Exp $
+# $Id: Makefile,v 1.141 2009-06-26 16:01:12 nicm Exp $
.SUFFIXES: .c .o
.PHONY: clean
@@ -14,7 +14,7 @@ LIBS+= -lncurses
# This sort of sucks but gets rid of the stupid warning and should work on
# most platforms...
-CCV!= (${CC} -v 2>&1|awk '/gcc version 4/') || true
+CCV!= (LC_ALL=C ${CC} -v 2>&1|awk '/gcc version 4/') || true
.if empty(CCV)
CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS}
.else