LC_ALL should be set by the calling shell
Read the blog post on http://www.mattfischer.com/blog/?p=105 M mode (aka ASCII) GT.M does not use LC_* while compiling UTF-8 mode GT.M requires the correct locale setting for the compiler to produce UTF-8 mode object files.
This commit is contained in:
parent
57ef8ebf36
commit
bfc84d205b
|
@ -391,10 +391,6 @@ file(GLOB mpt_files_sr_unix RELATIVE ${GTM_SOURCE_DIR}/sr_unix ${GTM_SOURCE_DIR}
|
|||
|
||||
set(gtm_chset_dir_ "")
|
||||
set(gtm_chset_dir_UTF-8 "/utf8")
|
||||
set(gtm_chset_locale_ "C")
|
||||
set(gtm_chset_locale_UTF-8 "en_US.utf8")
|
||||
set(gtm_chset_all_locale_ "C")
|
||||
set(gtm_chset_all_locale_UTF-8 "")
|
||||
|
||||
foreach(d sr_port sr_unix)
|
||||
foreach(m ${m_files_${d}})
|
||||
|
@ -516,8 +512,6 @@ foreach(gtm_chset "" "UTF-8")
|
|||
-D gtmroutines=.
|
||||
-D gtm_chset=${gtm_chset}
|
||||
-D gtm_icu_version=${gtm_icu_version}
|
||||
-D LC_CTYPE=${gtm_chset_locale_${gtm_chset}}
|
||||
-D LC_ALL=${gtm_chset_all_locale_${gtm_chset}}
|
||||
-D mumps=$<TARGET_FILE:mumps>
|
||||
-D "args=${in}"
|
||||
-P ${GTM_SOURCE_DIR}/sr_unix/mumps.cmake
|
||||
|
|
|
@ -14,8 +14,6 @@ foreach(v
|
|||
gtm_chset
|
||||
gtm_icu_version
|
||||
gtmgbldir
|
||||
LC_CTYPE
|
||||
LC_ALL
|
||||
)
|
||||
if(DEFINED ${v})
|
||||
set("ENV{${v}}" "${${v}}")
|
||||
|
|
Loading…
Reference in New Issue