mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-31 17:17:43 +03:00
[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.
This commit is contained in:
parent
b86691919a
commit
1352a36fbe
2
Makefile
2
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 )
|
||||
|
Loading…
Reference in New Issue
Block a user