Diff

Differences From Artifact [4bef3a5bc6]:

To Artifact [c3ccff1f0c]:


    70     70   			echo '' > "${TCLPRIVATE}/win/tclWinReg.c"
    71     71   
    72     72   			## Long-standing bug in Tcl
    73     73   			echo '#undef strtod' > "${TCLPRIVATE}/compat/strtod.c.new"
    74     74   			cat "${TCLPRIVATE}/compat/strtod.c" >> "${TCLPRIVATE}/compat/strtod.c.new"
    75     75   			cat "${TCLPRIVATE}/compat/strtod.c.new" > "${TCLPRIVATE}/compat/strtod.c"
    76     76   			rm -f "${TCLPRIVATE}/compat/strtod.c.new"
           77  +
           78  +			## Update to call fake "uname" since Tcl insists on
           79  +			## using "uname" to determine HOST information
           80  +			case "${CC}" in
           81  +				*-*-*)
           82  +					sed 's|`uname |`'"${PROJROOTDIR}"'/fake-uname |g' "${TCLPRIVATE}/unix/configure" > "${TCLPRIVATE}/unix/configure.new"
           83  +					cat "${TCLPRIVATE}/unix/configure.new" > "${TCLPRIVATE}/unix/configure"
           84  +					rm -f "${TCLPRIVATE}/unix/configure.new"
           85  +					;;
           86  +			esac
    77     87   
    78     88   			tcl_platform_dir='unix win macosx'
    79     89   
    80     90   			case "${CC}" in
    81     91   				*mingw*)
    82     92   					# If the compiler looks like Mingw, use Windows
    83     93   					tcl_platform_dir='win'