summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile4
-rw-r--r--Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 29dbe0d9..d1e9abf1 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,4 +1,4 @@
-# $Id: GNUmakefile,v 1.105 2009-06-25 16:25:55 nicm Exp $
+# $Id: GNUmakefile,v 1.106 2009-06-26 16:01:12 nicm Exp $
.PHONY: clean
@@ -13,7 +13,7 @@ LIBS+= -lncurses
# This sort of sucks but gets rid of the stupid warning and should work on
# most platforms...
-ifeq ($(shell ($(CC) -v 2>&1|awk '/gcc version 4/') || true), )
+ifeq ($(shell (LC_ALL=C $(CC) -v 2>&1|awk '/gcc version 4/') || true), )
CPPFLAGS:= -I. -I- $(CPPFLAGS)
else
CPPFLAGS:= -iquote. $(CPPFLAGS)
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