summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-12-29 21:58:32 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-12-29 21:58:32 (GMT)
commit916ee5ddc028bb069916a1026e32aac1f53be579 (patch)
tree08acaf186547aec709005e79b8b80d52ff61ca41 /Makefile
parente9d4e7d1a082fd2256327e1af4bb0abf70816527 (diff)
downloadmxe-916ee5ddc028bb069916a1026e32aac1f53be579.zip
mxe-916ee5ddc028bb069916a1026e32aac1f53be579.tar.gz
mxe-916ee5ddc028bb069916a1026e32aac1f53be579.tar.bz2
add LC_* variables to whitelist
see: https://github.com/mxe/mxe/issues/2259#issuecomment-450499167
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 98255a8..5ca4ff5 100644
--- a/Makefile
+++ b/Makefile
@@ -213,7 +213,7 @@ PRELOAD_VARS := LD_PRELOAD DYLD_FORCE_FLAT_NAMESPACE DYLD_INSERT_LIBRARIES
# use a minimal whitelist of safe environment variables
# basic working shell environment and mxe variables
# see http://www.linuxfromscratch.org/lfs/view/stable/chapter04/settingenvironment.html
-ENV_WHITELIST := EDITOR HOME LANG PATH %PROXY %proxy PS1 TERM
+ENV_WHITELIST := EDITOR HOME LANG LC_% PATH %PROXY %proxy PS1 TERM
ENV_WHITELIST += MAKE% MXE% $(PRELOAD_VARS) WINEPREFIX
# OS/Distro related issues - "unsafe" but practical