summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-04-16 19:34:01 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:15 -0700
commit1352a36fbe768904cc76c44c81a8522a15782548 (patch)
tree14ebccc4b9f76a755b46ab9eeca65b0ad3a7e340
parentb86691919a5687c3749d8e3324dd3b8eae22a435 (diff)
[PATCH] Fix build process for users who have LC_ALL set to a non-english language.
Many thanks to jack_mort <mort_jack@yahoo.fr> for helping track this down.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 85620779ac..dd7de95dc3 100644
--- a/Makefile
+++ b/Makefile
@@ -92,7 +92,7 @@ ARCH := ${shell $(CC) -dumpmachine | sed -e s'/-.*//' -e 's/i.86/i386/' -e 's/sp
-e 's/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/powerpc/ppc/g'}
# code taken from uClibc to determine the gcc include dir
-GCCINCDIR := ${shell $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp"}
+GCCINCDIR := ${shell LC_ALL=C $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp"}
# code taken from uClibc to determine the libgcc.a filename
GCC_LIB := $(shell $(CC) -print-libgcc-file-name )