summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-09-29 17:46:08 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-09-29 17:46:08 (GMT)
commit2e8c939e3d8103cd4f236754764858cb23342ab3 (patch)
tree6725bbd87504ebd79b7a9a18b7382cb84ca08681 /Makefile.pre.in
parent6224b678651bae90db24c5ad547e6c8930e55bdd (diff)
parentcf6d2d90c5d0d689881565fa45ebc00048016912 (diff)
downloadcpython-2e8c939e3d8103cd4f236754764858cb23342ab3.zip
cpython-2e8c939e3d8103cd4f236754764858cb23342ab3.tar.gz
cpython-2e8c939e3d8103cd4f236754764858cb23342ab3.tar.bz2
Issue #28258: Fixed build with Estonian locale (python-config and distclean
targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 18ba615..dac9d55 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1347,7 +1347,7 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
@ # is not available in configure
sed -e "s,@EXENAME@,$(BINDIR)/python$(LDVERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config.py
@ # Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR}
- sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config
+ LC_ALL=C sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config
@ # On Darwin, always use the python version of the script, the shell
@ # version doesn't use the compiler customizations that are provided
@ # in python (_osx_support.py).
@@ -1630,7 +1630,7 @@ distclean: clobber
Modules/Setup Modules/Setup.local Modules/Setup.config \
Modules/ld_so_aix Modules/python.exp Misc/python.pc
-rm -f python*-gdb.py
- find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \
+ LC_ALL=C; find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' \
-o -name '*.bak' ')' \